doomemacs/.github/workflows/triage.yml
2021-08-01 02:03:36 -04:00

30 lines
1.3 KiB
YAML

name: Mark stale issues and lock closed threads
on:
schedule:
- cron: '0 * * * *' # hourly
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-issue-message: >
This issue has been automatically marked stale because of a lack of
recent activity. If this issue is still valid, reply to it or remove
the label, or it will be closed in 7 days.
stale-pr-message: >-
This PR has been automatically marked stale because of a lack of
recent activity. If this PR is still valid or a work in progress,
replace or remove the label, or it will be closed in 7 days.
exempt-issue-labels: ':heart:,needs-triage,backlog,help wanted,1. announcement,2. status:confirmed'
exempt-pr-labels: ':heart:,needs-triage,backlog,2. status:confirmed,2. status:archived,2. status:resolved-temporarily,2. status:waiting,2. status:needs-work'
stale-issue-label: stale
stale-pr-label: stale
exempt-milestones: true
exempt-assignees: true
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '90'
pr-lock-inactive-days: '90'
issue-lock-labels: 'locked'