Skip to content

Commit

Permalink
ci: add stale issues workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed Sep 11, 2024
1 parent 6869e90 commit 0b553ac
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ github.token }}
days-before-issue-stale: 90
days-before-issue-close: 14
stale-issue-message: >
Thank you for contributing to the stencil repository!
This issue has been marked as stale since it has not had any activity in the last 90 days. It will be closed in the next 14
days unless any other activity occurs or one of the following labels is added: "lifecycle/frozen". Please reach out
to the triage team (`@jaredallard`) if you think this issue is still relevant or you are interested in getting the
issue resolved.
close-issue-message: >
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out
to the triage team (`@jaredallard`). Thanks!
stale-issue-label: 'lifecycle/stale'
exempt-issue-labels: 'lifecycle/frozen,status/backlog,status/in-progress,status/in-review'
close-issue-reason: "not_planned"
ascending: true

0 comments on commit 0b553ac

Please sign in to comment.