Skip to content

Commit 9d9e9e5

Browse files
committed
build: harden dependency-graph.yml permissions
Signed-off-by: Alex <[email protected]>
1 parent 2becadb commit 9d9e9e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dependency-graph.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: Submit Dependency Graph
33
on:
44
push:
55
branches: [1.7.x] # default branch of the project
6+
permissions: {}
67
jobs:
78
submit-graph:
9+
permissions:
10+
contents: write # to submit the dependency graph
11+
812
name: Submit Dependency Graph
913
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
1014
steps:

0 commit comments

Comments
 (0)