Skip to content

Commit

Permalink
ci: allow trunk to write annotations
Browse files Browse the repository at this point in the history
    ✖ Failed to post annotations to github: GitHub Error:403 Body:
    {"message":"Resource not accessible by integration","documentation_url":
    "https://docs.github.com/rest/checks/runs#create-a-check-run"}
    Error: Process completed with exit code 1.
  • Loading branch information
rriski committed Jan 18, 2024
1 parent 7680e63 commit e0c9eac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: wagoid/commitlint-github-action@v5
trunk:
runs-on: ubuntu-latest
permissions:
checks: write # For trunk to post annotations
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down

0 comments on commit e0c9eac

Please sign in to comment.