Skip to content

Commit

Permalink
ci: lock stale issues & prs
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Dec 6, 2023
1 parent c67ea8c commit d91e5f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lock-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lock Issues & PRs

on:
schedule:
- cron: '0 0 * * 0' # Every Sunday

jobs:
lock:
runs-on: ubuntu-latest

permissions:
issues: write
pull-requests: write
discussions: write

steps:
- name: Lock Issues & PRs
uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: '91'
add-issue-labels: 'outdated'
pr-inactive-days: '91'
add-pr-labels: 'outdated'
discussion-inactive-days: '91'
add-discussion-labels: 'outdated'

0 comments on commit d91e5f8

Please sign in to comment.