Lock down workflow permissions. (#19406)

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Nick Brassel
2022-12-23 10:41:16 +11:00
committed by GitHub
parent b8a9de206d
commit f75ac6042e
13 changed files with 41 additions and 4 deletions

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