release-finalize, hotfix, and release-sdk workflows referenced \`secrets.NPM_TOKEN\`, but the actual environment secret is named \`GETSHITDONEREDUXNPMTOKEN\`. Resolves the ENEEDAUTH failure on run 26351934927. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/hotfix.yml
vendored
6
.github/workflows/hotfix.yml
vendored
@@ -376,7 +376,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Dry-run publish validation
|
- name: Dry-run publish validation
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: npm publish --dry-run --tag latest
|
run: npm publish --dry-run --tag latest
|
||||||
|
|
||||||
- name: Tag and push
|
- name: Tag and push
|
||||||
@@ -400,14 +400,14 @@ jobs:
|
|||||||
- name: Publish to npm (latest)
|
- name: Publish to npm (latest)
|
||||||
if: ${{ !inputs.dry_run && steps.prior_publish.outputs.skip_publish != 'true' }}
|
if: ${{ !inputs.dry_run && steps.prior_publish.outputs.skip_publish != 'true' }}
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: npm publish --provenance --access public --tag latest
|
run: npm publish --provenance --access public --tag latest
|
||||||
|
|
||||||
- name: Re-point next dist-tag at this hotfix
|
- name: Re-point next dist-tag at this hotfix
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: |
|
run: |
|
||||||
npm dist-tag add "get-shit-done-redux@${VERSION}" next
|
npm dist-tag add "get-shit-done-redux@${VERSION}" next
|
||||||
echo "✅ next dist-tag re-pointed to v${VERSION} (matches latest)"
|
echo "✅ next dist-tag re-pointed to v${VERSION} (matches latest)"
|
||||||
|
|||||||
6
.github/workflows/release-sdk.yml
vendored
6
.github/workflows/release-sdk.yml
vendored
@@ -632,7 +632,7 @@ jobs:
|
|||||||
if: ${{ steps.prior_publish.outputs.skip_publish != 'true' }}
|
if: ${{ steps.prior_publish.outputs.skip_publish != 'true' }}
|
||||||
env:
|
env:
|
||||||
TAG: ${{ steps.ver.outputs.tag }}
|
TAG: ${{ steps.ver.outputs.tag }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: npm publish --dry-run --tag "$TAG"
|
run: npm publish --dry-run --tag "$TAG"
|
||||||
|
|
||||||
- name: Tag and push
|
- name: Tag and push
|
||||||
@@ -651,7 +651,7 @@ jobs:
|
|||||||
if: ${{ !inputs.dry_run && steps.prior_publish.outputs.skip_publish != 'true' }}
|
if: ${{ !inputs.dry_run && steps.prior_publish.outputs.skip_publish != 'true' }}
|
||||||
env:
|
env:
|
||||||
TAG: ${{ steps.ver.outputs.tag }}
|
TAG: ${{ steps.ver.outputs.tag }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: npm publish --provenance --access public --tag "$TAG"
|
run: npm publish --provenance --access public --tag "$TAG"
|
||||||
|
|
||||||
# Keep `next` from going stale relative to `latest`. When publishing a
|
# Keep `next` from going stale relative to `latest`. When publishing a
|
||||||
@@ -662,7 +662,7 @@ jobs:
|
|||||||
if: ${{ !inputs.dry_run && steps.ver.outputs.tag == 'latest' }}
|
if: ${{ !inputs.dry_run && steps.ver.outputs.tag == 'latest' }}
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ steps.ver.outputs.version }}
|
VERSION: ${{ steps.ver.outputs.version }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: |
|
run: |
|
||||||
npm dist-tag add "@opengsd/get-shit-done-redux@${VERSION}" next
|
npm dist-tag add "@opengsd/get-shit-done-redux@${VERSION}" next
|
||||||
echo "✅ next dist-tag re-pointed to v${VERSION} (matches latest)"
|
echo "✅ next dist-tag re-pointed to v${VERSION} (matches latest)"
|
||||||
|
|||||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -202,7 +202,7 @@ jobs:
|
|||||||
npm publish --dry-run --tag next
|
npm publish --dry-run --tag next
|
||||||
cd sdk && npm publish --dry-run --tag next
|
cd sdk && npm publish --dry-run --tag next
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Tag and push
|
- name: Tag and push
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
@@ -227,13 +227,13 @@ jobs:
|
|||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
run: npm publish --provenance --access public --tag next
|
run: npm publish --provenance --access public --tag next
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Publish SDK to npm (next)
|
- name: Publish SDK to npm (next)
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
run: cd sdk && npm publish --provenance --access public --tag next
|
run: cd sdk && npm publish --provenance --access public --tag next
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Create GitHub pre-release
|
- name: Create GitHub pre-release
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
@@ -350,7 +350,7 @@ jobs:
|
|||||||
npm publish --dry-run
|
npm publish --dry-run
|
||||||
cd sdk && npm publish --dry-run
|
cd sdk && npm publish --dry-run
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Create PR to merge release back to main
|
- name: Create PR to merge release back to main
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
@@ -405,13 +405,13 @@ jobs:
|
|||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
run: npm publish --provenance --access public
|
run: npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Publish SDK to npm (latest)
|
- name: Publish SDK to npm (latest)
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
run: cd sdk && npm publish --provenance --access public
|
run: cd sdk && npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
@@ -428,7 +428,7 @@ jobs:
|
|||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GETSHITDONEREDUXNPMTOKEN }}
|
||||||
run: |
|
run: |
|
||||||
# Point next to the stable release so @next never returns something
|
# Point next to the stable release so @next never returns something
|
||||||
# older than @latest. This prevents stale pre-release installs.
|
# older than @latest. This prevents stale pre-release installs.
|
||||||
|
|||||||
Reference in New Issue
Block a user