mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
build: harden dependency-graph.yml permissions
Signed-off-by: Alex <[email protected]>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user