Skip to content

Commit

Permalink
add lock inactive closed issues workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jun 8, 2023
1 parent 9b7211d commit e548cf9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Lock inactive closed issues'
# Lock closed issues that have not received any further activity for two weeks.
# This does not close open issues, only humans may do that. We find that it is
# easier to respond to new issues with fresh examples rather than continuing
# discussions on old issues.

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

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
with:
issue-inactive-days: 14
pr-inactive-days: 14

0 comments on commit e548cf9

Please sign in to comment.