Skip to content

Commit

Permalink
Merge pull request #185 from konflux-ci/stale-issues-action
Browse files Browse the repository at this point in the history
feat: add a stale issues and prs pruner
  • Loading branch information
ralphbean authored May 1, 2024
2 parents 2aa358e + fbf0702 commit 25f473a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >-
This issue is stale because it has been open 90 days with no
activity. Remove the `state/stale` label or comment, or this
will be closed in 30 days.
days-before-stale: 90
days-before-close: 30
stale-issue-label: 'state/stale'
stale-pr-label: 'state/stale'

0 comments on commit 25f473a

Please sign in to comment.