Skip to content

Commit 51c3f2a

Browse files
authored
Automatically lock github issues after they've been closed for 90 days (#189)
This will help ensure issues are not ressurected long after they're closed.
1 parent 1c2dd6f commit 51c3f2a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/lock.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Lock Issues
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
permissions:
8+
issues: "write"
9+
10+
jobs:
11+
lock:
12+
if: github.repository_owner == 'certifi'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: dessant/lock-threads@v3
16+
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
issue-inactive-days: 90
19+
pr-inactive-days: 90

0 commit comments

Comments
 (0)