Bladeren bron

Updates GitHub actions

Improves stale issue handling after updates
main
Eric Amodio 2 jaren geleden
bovenliggende
commit
5ab442c03a
2 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. +3
    -3
      .github/workflows/issues-lock.yml
  2. +3
    -1
      .github/workflows/issues-stale.yml

+ 3
- 3
.github/workflows/issues-lock.yml Bestand weergeven

@ -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 Bestand weergeven

@ -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'

Laden…
Annuleren
Opslaan