Skip to content

Commit

Permalink
ci: grant permissions to upload sarif data
Browse files Browse the repository at this point in the history
This is needed, e.g., for the dependabot PRs like #3629, where
non-privileged user opens PR from a temporary branch in our repository
(not a PR from a remote fork).
  • Loading branch information
praiskup authored and xsuchy committed Feb 17, 2025
1 parent ca3d934 commit 6ecc067
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-diff-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
jobs:
python-lint-job:
runs-on: ubuntu-latest

permissions:
security-events: write

steps:
- name: Repository checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 6ecc067

Please sign in to comment.