fix: fix the permission problem #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Commit the resume PDF | ||
on: [push] | ||
jobs: | ||
build & commit the resume PDF: | ||
Check failure on line 5 in .github/workflows/build.yml GitHub Actions / Build & Commit the resume PDFInvalid workflow file
|
||
name: Build PDF | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout master | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: yusancky/setup-typst@v2 | ||
id: setup-typst | ||
with: | ||
version: 'v0.7.0' | ||
- name: Build PDF | ||
run: 'make all' | ||
- name: Git Auto Commit | ||
uses: stefanzweifel/git-auto-commit-action@v5.0.0 | ||
with: | ||
commit_message: 'Update resume PDF' | ||
commit_options: '--no-verify --signoff' | ||
branch: 'main' | ||
file_pattern: '*.pdf' | ||
repository: . | ||