Skip to content

Commit dc2ca01

Browse files
committed
ci: skip Release publish until NPM_TOKEN is set
Keeps the Release workflow green while releases are cut manually; the publish step re-enables automatically once an NPM_TOKEN secret is added.
1 parent 5d6fecd commit dc2ca01

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ permissions:
1414
jobs:
1515
release:
1616
runs-on: ubuntu-latest
17+
env:
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1719
steps:
1820
- uses: actions/checkout@v4
1921

@@ -35,7 +37,12 @@ jobs:
3537

3638
# Opens/updates a "Version Packages" PR; when that PR merges, publishes the
3739
# bumped @tracebird/* packages to npm with public access.
40+
#
41+
# Skipped until an NPM_TOKEN secret is configured, so the workflow stays
42+
# green while releases are cut manually. Add the token to re-enable:
43+
# gh secret set NPM_TOKEN --body "<npm automation token>"
3844
- name: Changesets release
45+
if: env.NPM_TOKEN != ''
3946
uses: changesets/action@v1
4047
with:
4148
version: pnpm version

0 commit comments

Comments
 (0)