Add permissions block to spawn-runner workflow for security
Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/spawn-runner.yml
vendored
3
.github/workflows/spawn-runner.yml
vendored
@@ -5,6 +5,9 @@ on:
|
|||||||
- cron: "0 */6 * * *" # Every 6 hours
|
- cron: "0 */6 * * *" # Every 6 hours
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
spawn-runner:
|
spawn-runner:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user