Lock down workflow permissions. (#19406)
Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
1 parent
b8a9de206d
commit
f75ac6042e
13 files changed
+41
-4
No files matched your search
@@ -1,13 +1,14 @@
|
||||
name: 'Close stale issues and PRs'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user