Skip to content

Commit 9e5e137

Browse files
committed
fix workflow permissions
1 parent 3e81551 commit 9e5e137

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build_deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
build-commit-upload:
1212
name: Build, Commit and Upload
1313
runs-on: depot-ubuntu-24.04-arm
14+
permissions:
15+
contents: write
1416
steps:
1517
- name: Checkout
16-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1719
- name: Prepare
18-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v5
1921
with:
2022
node-version: 22
2123
cache: "npm"
@@ -24,11 +26,11 @@ jobs:
2426
- name: Build
2527
run: npm run build
2628
- name: Commit Changes
27-
uses: stefanzweifel/git-auto-commit-action@v5
29+
uses: stefanzweifel/git-auto-commit-action@v6
2830
with:
2931
commit_message: Generate docs from templates
3032
- name: Upload Build Artifact
31-
uses: actions/upload-pages-artifact@v3
33+
uses: actions/upload-pages-artifact@v4
3234
with:
3335
path: build
3436

0 commit comments

Comments
 (0)