Skip to content

Commit 97a8c2c

Browse files
committed
Merge branch 'master' into next-major
2 parents 23a3210 + 3e90872 commit 97a8c2c

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

‎.github/workflows/_changesets-release.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
if: needs.select-mode.outputs.mode == 'publish'
8080
needs: select-mode
8181
uses: ./.github/workflows/_publish-packages.yaml
82+
secrets: inherit
8283

8384
finalize:
8485
name: Finalize release

‎.github/workflows/check.yaml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Build, lint and test
22

33
on: [pull_request, push]
44

5-
cache-mode: ${{ github.event_name == 'pull_request' && 'read' || 'write' }}
6-
75
jobs:
86
build:
7+
if: github.event_name == 'pull_request'
8+
cache-mode: read
99
runs-on: ubuntu-latest
1010

11-
steps:
11+
steps: &check-steps
1212
- uses: actions/checkout@v7
1313
- uses: actions/setup-node@v7
1414
with:
@@ -25,3 +25,9 @@ jobs:
2525
run: pnpm lint
2626
- name: Test
2727
run: pnpm test:ci
28+
29+
build-push:
30+
if: github.event_name == 'push'
31+
cache-mode: write
32+
runs-on: ubuntu-latest
33+
steps: *check-steps

‎.github/workflows/publish-canary.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
needs: resolve
4343
cache-mode: read
4444
uses: ./.github/workflows/_publish-packages.yaml
45+
secrets: inherit
4546
with:
4647
canary: true
4748
ref: ${{ needs.resolve.outputs.ref }}

‎.github/workflows/publish-next-major.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1414
jobs:
1515
release:
1616
uses: ./.github/workflows/_changesets-release.yaml
17+
secrets: inherit

‎.github/workflows/publish.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1515
jobs:
1616
release:
1717
uses: ./.github/workflows/_changesets-release.yaml
18+
secrets: inherit

0 commit comments

Comments
 (0)