Przeglądaj źródła

Adds closed issue locking workflow

main
Eric Amodio 4 lat temu
rodzic
commit
2833dfb767
1 zmienionych plików z 17 dodań i 0 usunięć
  1. +17
    -0
      .github/workflows/issues-lock.yml

+ 17
- 0
.github/workflows/issues-lock.yml Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz