Skip to content

Commit

Permalink
fix workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Cozowicz committed Jun 17, 2024
1 parent e785913 commit 3962a01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

permissions:
contents: write # This is required for actions/checkout@v1
security-events: write # To upload sarif files

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
schedule:
- cron: '20 14 * * 1'

permissions:
actions: read
contents: read
security-events: write # To upload sarif files

jobs:
analyze:
name: Analyze
Expand Down

0 comments on commit 3962a01

Please sign in to comment.