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