Skip to content

Commit

Permalink
github: upgrade permissions for annotation action
Browse files Browse the repository at this point in the history
- `GITHUB_TOKEN`` does not have write access for checks any more by
  default. Provide explicitly instead.

- bump annotation action version.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Jul 8, 2024
1 parent da814c5 commit a7ec432
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ jobs:
thylint:
name: 'Theory Linter'
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: seL4/ci-actions/thylint@master
with:
token: ${{ secrets.READ_TOKEN }}
- uses: yuzutech/annotations-action@v0.4.0
- uses: yuzutech/annotations-action@v0.5.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'File annotations for theory linter'
Expand Down

0 comments on commit a7ec432

Please sign in to comment.