Lock down workflow permissions. (#19406)

Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
Nick BrasselandJoel Challis authored and GitHub committed 2022-12-23 10:41:16 +11:00
1 parent b8a9de206d
commit f75ac6042e
13 files changed
+41 -4

No files matched your search

+5 -4
View File
@@ -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