Bläddra i källkod

Adds closed issue locking workflow

main
Eric Amodio 4 år sedan
förälder
incheckning
2833dfb767
1 ändrade filer med 17 tillägg och 0 borttagningar
  1. +17
    -0
      .github/workflows/issues-lock.yml

+ 17
- 0
.github/workflows/issues-lock.yml Visa fil

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

Laddar…
Avbryt
Spara