Skip to content

Commit e4106c9

Browse files
authored
GitHub Action to close issues as stale as-needed (#813)
1 parent b140256 commit e4106c9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/stale.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# **what?**
2+
# For issues that have been open for awhile without activity, label
3+
# them as stale with a warning that they will be closed out. If
4+
# anyone comments to keep the issue open, it will automatically
5+
# remove the stale label and keep it open.
6+
7+
# Stale label rules:
8+
# awaiting_response, more_information_needed -> 90 days
9+
# good_first_issue, help_wanted -> 360 days (a year)
10+
# tech_debt -> 720 (2 years)
11+
# all else defaults -> 180 days (6 months)
12+
13+
# **why?**
14+
# To keep the repo in a clean state from issues that aren't relevant anymore
15+
16+
# **when?**
17+
# Once a day
18+
19+
name: "Close stale issues and PRs"
20+
on:
21+
schedule:
22+
- cron: "30 1 * * *"
23+
24+
permissions:
25+
issues: write
26+
pull-requests: write
27+
28+
jobs:
29+
stale:
30+
uses: dbt-labs/actions/.github/workflows/stale-bot-matrix.yml@main

0 commit comments

Comments
 (0)