浏览代码

Adds closed issue locking workflow

main
Eric Amodio 4 年前
父节点
当前提交
2833dfb767
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. +17
    -0
      .github/workflows/issues-lock.yml

+ 17
- 0
.github/workflows/issues-lock.yml 查看文件

@ -0,0 +1,17 @@
name: 'Lock closed issues'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.'
issue-lock-inactive-days: 30
process-only: 'issues'

正在加载...
取消
保存