We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5eca83 commit 35e3800Copy full SHA for 35e3800
1 file changed
.github/workflows/release-please.yml
@@ -70,7 +70,11 @@ jobs:
70
set -euo pipefail
71
read -ra tags <<< "$RELEASE_TAGS"
72
for tag in "${tags[@]}"; do
73
- gh workflow run release.yml --field "tag=$tag"
+ # Dispatch on the tag ref (not the default branch) so the run is
74
+ # attributed to the tag like the old `push: tags` flow, and the
75
+ # OIDC claims behind npm trusted publishing/provenance reference
76
+ # the tag instead of whatever main's head happens to be.
77
+ gh workflow run release.yml --ref "$tag" --field "tag=$tag"
78
done
79
80
# Branch pushes made with the workflow token never trigger
0 commit comments