Skip to content

Commit 57220ba

Browse files
committed
Use personal access token to push tag
Github actions refuses to trigger a workflow from another workflow, but if you use your own personal access token (in this case, GITHUB_API_TOKEN), it should work.
1 parent 6636d0c commit 57220ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ jobs:
7474
git tag ${{ env.new_tag }}
7575
git push origin ${{ env.new_tag }}
7676
env:
77-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }}

0 commit comments

Comments
 (0)