瀏覽代碼

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'

Loading…
取消
儲存