Add permissions for workflow, GitHub issue 3202.

This commit is contained in:
Nicholas Marriott 2022-07-19 07:54:11 +01:00
parent 697cebb4c1
commit e06c09889c

View File

@ -4,8 +4,14 @@ on:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
lock:
permissions:
issues: write # for dessant/lock-threads to lock issues
pull-requests: write # for dessant/lock-threads to lock PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2