Skip to content

Commit bfd6819

Browse files
committed
push head with tag and use PAT to trigger other workflow
1 parent 173ebd0 commit bfd6819

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/node.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ jobs:
6868
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
6969
steps:
7070
- uses: actions/checkout@v4
71+
with:
72+
token: ${{ secrets.GH_PAT_WRITE }}
7173
- name: Bump Version
7274
run: npm version patch
7375
- name: Push tag
74-
run: git push origin tag $(git tag --points-at HEAD)
76+
run: |
77+
git push origin tag $(git tag --points-at HEAD)
78+
git push origin

0 commit comments

Comments
 (0)