2020-04-16 16:53:21 +00:00
|
|
|
name: 'Lock threads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2021-11-02 16:43:47 +00:00
|
|
|
- cron: '0 18 * * 1'
|
|
|
|
# │ │ │ │ │
|
|
|
|
# min 0-59 ┘ │ │ │ └ weekday 0-6
|
|
|
|
# hour 0-23 ┘ │ └ month 1-12
|
|
|
|
# └ day 1-31
|
2022-06-05 00:29:28 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-04-16 16:53:21 +00:00
|
|
|
jobs:
|
|
|
|
lock:
|
2022-06-05 00:29:28 +00:00
|
|
|
permissions:
|
|
|
|
issues: write # for dessant/lock-threads to lock issues
|
|
|
|
pull-requests: write # for dessant/lock-threads to lock PRs
|
2020-04-16 16:53:21 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-02-01 02:00:20 +00:00
|
|
|
- uses: dessant/lock-threads@v4
|
2020-04-16 16:53:21 +00:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2023-02-01 02:00:20 +00:00
|
|
|
issue-inactive-days: '365'
|
|
|
|
pr-inactive-days: '365'
|
|
|
|
exclude-any-issue-labels: 'question, needs more info'
|