mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -06:00
build: harden stale.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
f3c26ee7cc
commit
dac181a323
5
.github/workflows/stale.yml
vendored
5
.github/workflows/stale.yml
vendored
@ -4,8 +4,13 @@ on:
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
|
||||
permissions: {}
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
issues: write # to close stale issues (actions/stale)
|
||||
pull-requests: write # to close stale PRs (actions/stale)
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
|
Loading…
Reference in New Issue
Block a user