mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 01:58:46 +00:00
Add permissions for workflow, GitHub issue 3202.
This commit is contained in:
parent
697cebb4c1
commit
e06c09889c
6
.github/workflows/lock.yml
vendored
6
.github/workflows/lock.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user