Skip to content

Commit b42f399

Browse files
authored
fix(ci): fix release step (zenbones-theme#185)
1 parent aafa303 commit b42f399

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616

1717
docs:
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1921
if: ${{ github.ref == 'refs/heads/main' }}
2022
steps:
2123
- uses: actions/checkout@v4
@@ -28,7 +30,7 @@ jobs:
2830
version: "Vim 8.1 / Nvim v0.8.0"
2931
treesitter: true
3032
- name: Push changes
31-
uses: stefanzweifel/git-auto-commit-action@v4
33+
uses: stefanzweifel/git-auto-commit-action@v5
3234
with:
3335
commit_message: "chore(build): auto-generate vimdoc"
3436
commit_user_name: "github-actions[bot]"
@@ -59,7 +61,7 @@ jobs:
5961
make
6062
6163
- name: Push changes
62-
uses: stefanzweifel/git-auto-commit-action@v4
64+
uses: stefanzweifel/git-auto-commit-action@v5
6365
with:
6466
commit_message: "chore(build): rebuild artifacts"
6567
commit_user_name: "github-actions[bot]"
@@ -68,6 +70,8 @@ jobs:
6870

6971
format:
7072
runs-on: ubuntu-latest
73+
permissions:
74+
contents: write
7175
if: ${{ github.ref == 'refs/heads/main' }}
7276
steps:
7377
- uses: actions/checkout@v4
@@ -94,6 +98,9 @@ jobs:
9498

9599
release:
96100
name: release
101+
permissions:
102+
contents: write
103+
pull-requests: write
97104
if: ${{ github.ref == 'refs/heads/main' }}
98105
needs:
99106
- docs

0 commit comments

Comments
 (0)