Skip to content

Commit

Permalink
Merge pull request #9417 from astrojuanlu/lock-threads
Browse files Browse the repository at this point in the history
Lock closed issues and pull requests after a period of inactivity
  • Loading branch information
tk0miya committed Jul 8, 2021
2 parents b2aa728 + f1d03d7 commit be1dfb5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lock.yml
@@ -0,0 +1,18 @@
name: 'Lock old 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:
issue-lock-inactive-days: '30'
pr-lock-inactive-days: '30'

0 comments on commit be1dfb5

Please sign in to comment.