Skip to content

Commit 9d8ddd3

Browse files
authored
Fix auto-update script
1 parent d67e4e1 commit 9d8ddd3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/auto-update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
check-and-update:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- uses: actions/checkout@v4
1315
- uses: actions/setup-node@v4
@@ -16,6 +18,6 @@ jobs:
1618
- uses: fregante/setup-git-user@v2
1719
- name: Try updating the version
1820
run: ./scripts/bump-and-publish.sh
19-
- run: git push --follow-tags
2021
env:
2122
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
- run: git push --follow-tags

0 commit comments

Comments
 (0)