Skip to content

Commit b0c8bb2

Browse files
authored
Add top level permissions for new workflows (#2396)
Fixes #2394.
1 parent 17dac54 commit b0c8bb2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/auto-update-translator-cid.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
schedule:
66
- cron: '5 23 * * *'
77

8+
permissions: read-all
9+
810
env:
911
PR_BRANCH: bot/update_translator_cid
1012

.github/workflows/bandit-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
schedule:
55
- cron: '5 23 * * *'
66

7+
permissions: read-all
8+
79
jobs:
810
bandit-check:
911
runs-on:

0 commit comments

Comments
 (0)