mirror of https://github.com/sbt/sbt.git
Merge pull request #7023 from sashashura/patch-1
GitHub Workflows security hardening
This commit is contained in:
commit
87bbdd9f9b
|
|
@ -3,6 +3,9 @@ on:
|
|||
pull_request:
|
||||
push:
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -3,8 +3,12 @@ name: Submit Dependency Graph
|
|||
on:
|
||||
push:
|
||||
branches: [1.7.x] # default branch of the project
|
||||
permissions: {}
|
||||
jobs:
|
||||
submit-graph:
|
||||
permissions:
|
||||
contents: write # to submit the dependency graph
|
||||
|
||||
name: Submit Dependency Graph
|
||||
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ on:
|
|||
# # 08:00 UTC = 03:00 EST
|
||||
# - cron: '0 8 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
strategy:
|
||||
|
|
|
|||
Loading…
Reference in New Issue