Parcourir la source

Adds closed issue locking workflow

main
Eric Amodio il y a 4 ans
Parent
révision
2833dfb767
1 fichiers modifiés avec 17 ajouts et 0 suppressions
  1. +17
    -0
      .github/workflows/issues-lock.yml

+ 17
- 0
.github/workflows/issues-lock.yml Voir le fichier

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

Chargement…
Annuler
Enregistrer