Skip to content

Commit

Permalink
Automatically lock github issues after they've been closed for 90 days (
Browse files Browse the repository at this point in the history
#189)

This will help ensure issues are not ressurected long after they're closed.
  • Loading branch information
alex authored Mar 12, 2022
1 parent 1c2dd6f commit 51c3f2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lock Issues
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

permissions:
issues: "write"

jobs:
lock:
if: github.repository_owner == 'certifi'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: 90
pr-inactive-days: 90

0 comments on commit 51c3f2a

Please sign in to comment.