Skip to content

Commit

Permalink
ci: Added githbu codeql sarif upload permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
duggalsu committed Mar 11, 2024
1 parent e9afff0 commit 1bcd94b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
jobs:
checks:
if: github.event.pull_request.draft == false
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Run security checks
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1bcd94b

Please sign in to comment.