2020-12-09 04:01:29 +00:00
|
|
|
name: 'Lock threads'
|
|
|
|
|
|
|
|
on:
|
2020-12-09 04:47:46 +00:00
|
|
|
workflow_dispatch:
|
2020-12-09 04:01:29 +00:00
|
|
|
schedule:
|
2020-12-10 15:09:03 +00:00
|
|
|
- cron: '0 0 * * *'
|
2020-12-09 04:01:29 +00:00
|
|
|
|
2022-09-26 18:05:10 +00:00
|
|
|
permissions: {}
|
2020-12-09 04:01:29 +00:00
|
|
|
jobs:
|
|
|
|
lock:
|
2022-09-26 18:05:10 +00:00
|
|
|
permissions:
|
|
|
|
issues: write # to lock issues (dessant/lock-threads)
|
|
|
|
pull-requests: write # to lock PRs (dessant/lock-threads)
|
|
|
|
|
2020-12-09 04:01:29 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-05-02 12:22:19 +00:00
|
|
|
- uses: dessant/lock-threads@v4
|
2020-12-09 04:01:29 +00:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2023-05-02 12:22:19 +00:00
|
|
|
issue-inactive-days: '90'
|
|
|
|
exclude-issue-created-before: ''
|
|
|
|
exclude-any-issue-labels: ''
|
|
|
|
add-issue-labels: ''
|
|
|
|
issue-comment: ''
|
2020-12-09 04:01:29 +00:00
|
|
|
issue-lock-reason: 'resolved'
|
2020-12-10 15:09:03 +00:00
|
|
|
process-only: ''
|