mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 10:28:54 +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:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v2
|
- uses: dessant/lock-threads@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user