Skip to content

Commit

Permalink
Add GitHub Lock closed issue action (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev authored Aug 13, 2021
1 parent a610015 commit 5faef7d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Lock Threads'

on:
schedule:
- cron: '0 0 * * *'

permissions:
issues: write
pull-requests: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ 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.
process-only: 'issues'

0 comments on commit 5faef7d

Please sign in to comment.