Skip to content

Commit 6d6a714

Browse files
committed
Remove token from actions/checkout step
1 parent aa31a25 commit 6d6a714

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

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

3735
- name: Set up Node.js
3836
uses: actions/setup-node@v6
@@ -55,7 +53,7 @@ jobs:
5553
run: |
5654
git config --global user.name "github-actions[bot]"
5755
git config --global user.email "github-actions[bot]@users.noreply.github.com"
58-
TAG=$(npm version ${{ github.event.inputs.bump || 'minor' }} -m "Release %s [skip ci]")
56+
TAG=$(npm version ${{ github.event.inputs.bump || 'minor' }} -m "Release %s")
5957
echo "Created tag: $TAG"
6058
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
6159
git push origin main --follow-tags

0 commit comments

Comments
 (0)