Skip to content

Commit

Permalink
Merge pull request #4615 from getkirby/fix/switches-to-github-stale
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative authored Aug 30, 2022
2 parents 8fb9816 + 757135d commit daa8829
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/stale.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Close Stale Issues
# Warns and then closes issues and PRs that have had no activity for a specified amount of time.
# https://github.com/actions/stale

name: Close Stale Issues
on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@9c1b1c6e115ca2af09755448e0dbba24e5061cc8 # pin@v5
with:
# Idle number of days before marking issues stale, set `-1` to disable
days-before-issue-stale: 180

# Idle number of days before marking issues stale, set `-1` to disable
days-before-pr-stale: -1

# Idle number of days before closing stale issues/PRs
days-before-close: 14

# Comment on the staled issues
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs."

# Label to apply on staled issues
stale-issue-label: "type: stale 💤"

# Reason to use when closing issues
close-issue-reason: not_planned

# Labels on issues exempted from stale
exempt-issue-labels: "critical: roadblock 🚧,type: regression 🚨"

0 comments on commit daa8829

Please sign in to comment.