瀏覽代碼

Updates GitHub actions

Improves stale issue handling after updates
main
Eric Amodio 2 年之前
父節點
當前提交
5ab442c03a
共有 2 個檔案被更改,包括 6 行新增4 行删除
  1. +3
    -3
      .github/workflows/issues-lock.yml
  2. +3
    -1
      .github/workflows/issues-stale.yml

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

@ -9,9 +9,9 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
- uses: dessant/lock-threads@v3
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
issue-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-inactive-days: 30
process-only: 'issues'

+ 3
- 1
.github/workflows/issues-stale.yml 查看文件

@ -9,7 +9,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 7
@ -18,3 +18,5 @@ jobs:
close-issue-message: 'Closing this issue because it needs more information and has not had recent activity. Please re-open this issue if more details can be provided. Thanks!'
stale-issue-label: 'inactive'
stale-issue-message: 'This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!'
labels-to-add-when-unstale: 'triage'
labels-to-remove-when-unstale: 'needs-more-info'

Loading…
取消
儲存