mirror of https://github.com/sbt/sbt.git
build: harden dependency-graph.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
2becadb7c2
commit
9d9e9e5c53
|
|
@ -3,8 +3,12 @@ name: Submit Dependency Graph
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [1.7.x] # default branch of the project
|
branches: [1.7.x] # default branch of the project
|
||||||
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
submit-graph:
|
submit-graph:
|
||||||
|
permissions:
|
||||||
|
contents: write # to submit the dependency graph
|
||||||
|
|
||||||
name: Submit Dependency Graph
|
name: Submit Dependency Graph
|
||||||
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
|
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue