Skip to content

Commit

Permalink
chore: lock closed issues after 14 days (#4195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jul 12, 2021
1 parent a08148d commit dceacc7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lock-closed-issues.yml
@@ -0,0 +1,20 @@
name: Lock Closed Issues

on:
schedule:
- cron: "0 0 * * *"

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-inactive-days: "14"
issue-lock-comment: "This issue gets locked because it has been closed for more than 14 days."
issue-lock-reason: ""
process-only: "issues"

0 comments on commit dceacc7

Please sign in to comment.