Skip to content

Commit

Permalink
[Fix] give permission (content: write)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunyu1019 committed Feb 3, 2024
1 parent 50283c0 commit 0a5b162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [main]
jobs:
format:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,7 +17,7 @@ jobs:
- run: npm ci
- run: npm run format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}

0 comments on commit 0a5b162

Please sign in to comment.