From bfd6819dc62f55a57d4277fded2f4955daf355ad Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Tue, 19 Dec 2023 22:50:51 -0700 Subject: [PATCH] push head with tag and use PAT to trigger other workflow --- .github/workflows/node.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 7e7cf87..1d68c89 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -68,7 +68,11 @@ jobs: GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.GH_PAT_WRITE }} - name: Bump Version run: npm version patch - name: Push tag - run: git push origin tag $(git tag --points-at HEAD) + run: | + git push origin tag $(git tag --points-at HEAD) + git push origin