mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Tweak workflow permissions
This commit is contained in:
parent
4cb6984a65
commit
309a70df89
5
.github/workflows/lock.yml
vendored
5
.github/workflows/lock.yml
vendored
@ -5,12 +5,11 @@ on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
|
||||
permissions: {}
|
||||
jobs:
|
||||
lock:
|
||||
permissions:
|
||||
issues: write # to lock issues (dessant/lock-threads)
|
||||
pull-requests: write # to lock PRs (dessant/lock-threads)
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
5
.github/workflows/stale.yml
vendored
5
.github/workflows/stale.yml
vendored
@ -4,12 +4,11 @@ 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)
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user