Skip to content

Commit

Permalink
fixed #13351 - codeql-analysis.yml: limit write permissions to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Jan 12, 2025
1 parent e744f5a commit d57ef88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ on:

permissions:
contents: read
security-events: write

jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
permissions:
security-events: write

strategy:
fail-fast: false
Expand Down

0 comments on commit d57ef88

Please sign in to comment.