Merge pull request #2129 from syeopite/lock-stale-closed-issues

Add workflow to lock inactive closed issues
このコミットが含まれているのは:
syeopite 2021-06-08 12:07:33 -07:00 committed by GitHub
コミット e67f50f157
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更20行の追加0行の削除

20
.github/workflows/lock.yml vendored ノーマルファイル
ファイルの表示

@ -0,0 +1,20 @@
name: 'Lock Threads'
on:
schedule:
- cron: "0 */12 * * *"
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '30'
pr-lock-inactive-days: '30'
issue-lock-reason: 'resolved'
pr-lock-reason: 'resolved'
issue-lock-comment: 'This issue has been automatically locked since there has not been any activity in it in the last 30 days. If this is still applicable to the current version of Invidious feel free to open a new issue.'
pr-lock-comment: 'This pull request has been automatically locked since there has not been any activity in it in the last 30 days. If you want to tell us about needed or wanted changes or if problems related to this code are discovered, feel free to open an issue or a new pull request.'