Skip to content

Commit

Permalink
fix: Add permissions to root of all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 21, 2023
1 parent 06ddd88 commit a430221
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yml
Expand Up @@ -20,6 +20,11 @@ on:
schedule:
- cron: '19 15 * * 6'

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

jobs:
analyze:
name: Analyze
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-check.yml
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

concurrency:
group: "ci-check"
cancel-in-progress: false
Expand Down

0 comments on commit a430221

Please sign in to comment.