Skip to content

Commit b3f028d

Browse files
committed
build: harden bot-nightly.yaml permissions
Signed-off-by: Alex <[email protected]>
1 parent ae3fb4c commit b3f028d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/bot-nightly.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ on:
44
repository_dispatch:
55
types: [nightly]
66

7+
permissions: {}
78
jobs:
89
snapshot-source:
10+
permissions:
11+
contents: write # for git push
12+
913
name: Update Keras guides
1014
if : ${{ github.actor == 'tfdocsbot' }}
1115
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)