Переглянути джерело

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'

Завантаження…
Відмінити
Зберегти