Skip to content

Commit c62fd96

Browse files
Vrtak-CZclaude
andcommitted
fix(ci): dispatch npm-publish workflow on tag ref
The npm environment protection rules restrict deployments to tag refs. Without --ref, gh workflow run dispatches on main which is rejected. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 18103c1 commit c62fd96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
env:
6565
GH_TOKEN: ${{ github.token }}
6666
VERSION: ${{ inputs.version != '' && inputs.version || steps.semver.outputs.nextStrict }}
67-
run: gh workflow run npm-publish.yml -f version="$VERSION"
67+
run: gh workflow run npm-publish.yml --ref "$VERSION" -f version="$VERSION"

0 commit comments

Comments
 (0)