Skip to content

Commit 43567c4

Browse files
Fixed 403 error on github actions bump version push.
1 parent 99d4b32 commit 43567c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
12
name: '🚀 Deploy NestJS API Docker App'
3+
permissions:
4+
contents: write
25

36
on:
47
push:
@@ -40,6 +43,8 @@ jobs:
4043
4144
- name: '💾 Commit Version Update'
4245
if: github.ref == 'refs/heads/main'
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4348
run: |
4449
git add version.json package.json
4550
git commit -m "chore: Auto-increment version [skip ci]" || echo "No changes to commit"

0 commit comments

Comments
 (0)