Skip to content

Commit

Permalink
github-ci: apply read-only permissions to more workflows
Browse files Browse the repository at this point in the history
- authors.yml
- codeql.yml
- scan-build.yml
  • Loading branch information
jasonish authored and victorjulien committed Feb 14, 2024
1 parent abbd507 commit a87943d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: New Authors Check
on:
pull_request:

permissions: read-all

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
schedule:
- cron: '18 21 * * 1'

permissions: read-all

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scan-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
paths-ignore:
- "doc/**"

permissions: read-all

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit a87943d

Please sign in to comment.