Skip to content

Commit 14ced36

Browse files
committed
Revert "Remove token from actions/checkout step"
This reverts commit 6d6a714.
1 parent f257654 commit 14ced36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Checkout code
3333
uses: actions/checkout@v5
34+
with:
35+
token: ${{ secrets.GH_PUSH_TOKEN }}
3436

3537
- name: Set up Node.js
3638
uses: actions/setup-node@v6
@@ -52,7 +54,7 @@ jobs:
5254
run: |
5355
git config --global user.name "github-actions[bot]"
5456
git config --global user.email "github-actions[bot]@users.noreply.github.com"
55-
TAG=$(npm version ${{ github.event.inputs.bump || 'minor' }} -m "Release %s")
57+
TAG=$(npm version ${{ github.event.inputs.bump || 'minor' }} -m "Release %s [skip ci]")
5658
echo "Created tag: $TAG"
5759
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
5860
git push origin main --follow-tags

0 commit comments

Comments
 (0)