Use minimum required permissions for GitHub workflows
This reduces the attack surface if the workflows are ever compromised.
This commit is contained in:
parent
45d2492bcb
commit
a1f1acfbf9
3 changed files with 21 additions and 1 deletions
4
.github/workflows/no-response.yml
vendored
4
.github/workflows/no-response.yml
vendored
|
|
@ -9,6 +9,10 @@ on:
|
|||
# Run daily at midnight.
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
noResponse:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue