Skip to content

Commit

Permalink
Hoist code-ql permissions to apply to whole workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Apr 8, 2024
1 parent 88a78fc commit cc26bbf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ on:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '45 0 * * 2'
- cron: '45 0 * * 1'

permissions:
actions: read
contents: read
security-events: write

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
Expand Down

0 comments on commit cc26bbf

Please sign in to comment.