Skip to content

Commit b829028

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # .github/workflows/compile-docs.yml
2 parents 3a1d89d + 062bf5d commit b829028

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/compile-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ on:
99
- 'src/**'
1010
- 'cli.ts'
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
1316
compile:
1417
runs-on: ubuntu-latest
1518

1619
steps:
1720
- name: Checkout code
18-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
1922

2023
- name: Setup Bun
2124
uses: oven-sh/setup-bun@v2
@@ -30,6 +33,8 @@ jobs:
3033
run: bun run cli.ts docs/main.xiv -o docs/index.html
3134

3235
- name: Commit and push if changed
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3338
run: |
3439
git config --global user.name 'github-actions[bot]'
3540
git config --global user.email 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)