Skip to content

Commit 5c4dac0

Browse files
authored
Explicitly declare permissions on GH Action workflows that lacked them (#4340)
1 parent cd5c8ec commit 5c4dac0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/bump_bbs_protos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
jobs:
99
update-protos:
1010
runs-on: ubuntu-latest
11-
11+
permissions:
12+
contents: read
13+
pull-requests: write
1214
steps:
1315
- uses: hmarr/debug-action@v3
1416
- name: Checkout ccng

.github/workflows/deploy_v3_docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
dummy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1113
steps:
1214
- name: Dummy Step
1315
run: echo "This is a dummy action to ensure visibility"

0 commit comments

Comments
 (0)