Skip to content

Commit

Permalink
fix: add pull-requests permission to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hat0uma committed Jan 8, 2025
1 parent 2855886 commit 1aa592d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination reposito
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1aa592d

Please sign in to comment.