Skip to content

Commit

Permalink
Add top level permissions for new workflows (#2396)
Browse files Browse the repository at this point in the history
Fixes #2394.
  • Loading branch information
pbchekin authored Oct 1, 2024
1 parent 17dac54 commit b0c8bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto-update-translator-cid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
schedule:
- cron: '5 23 * * *'

permissions: read-all

env:
PR_BRANCH: bot/update_translator_cid

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/bandit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
schedule:
- cron: '5 23 * * *'

permissions: read-all

jobs:
bandit-check:
runs-on:
Expand Down

0 comments on commit b0c8bb2

Please sign in to comment.