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
commit f75ac6042e
Failed to generate hash of commit
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