diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-07-19 07:54:11 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-07-19 07:54:11 +0100 |
commit | e06c09889c8f56164ddc920d534357357769cf13 (patch) | |
tree | 837c28a363b19d999ee65f82e21a9e7dbcddaf35 /.github | |
parent | 697cebb4c1a28e0dc5b76037cb912eb1ace700b3 (diff) |
Add permissions for workflow, GitHub issue 3202.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lock.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index c6691e46..a4d3e9b5 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -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 |