-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into unit-testing-case-insensitive-comparisons
- Loading branch information
Showing
4 changed files
with
108 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# **what?** | ||
# When triaging submissions, we sometimes need more information from the issue creator. | ||
# In those cases we remove the `triage` label and add the `awaiting_response` label. | ||
# Once we receive a response in the form of a comment, we want the `awaiting_response` label removed | ||
# and the `triage` label added so that we are aware that the issue needs action. | ||
|
||
# **why?** | ||
# This automates a part of issue triaging while also removing noise from triage lists. | ||
|
||
# **when?** | ||
# This will run when a comment is added to an issue and that issue has an `awaiting_response` label. | ||
|
||
name: Resubmit for Triage | ||
|
||
on: issue_comment | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
triage_label: | ||
if: contains(github.event.issue.labels.*.name, 'awaiting_response') | ||
uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main | ||
with: | ||
add_label: "triage" | ||
remove_label: "awaiting_response" | ||
secrets: inherit # this is only acceptable because we own the action we're calling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# **what?** | ||
# For issues that have been open for awhile without activity, label | ||
# them as stale with a warning that they will be closed out. If | ||
# anyone comments to keep the issue open, it will automatically | ||
# remove the stale label and keep it open. | ||
|
||
# Stale label rules: | ||
# awaiting_response, more_information_needed -> 90 days | ||
# good_first_issue, help_wanted -> 360 days (a year) | ||
# tech_debt -> 720 (2 years) | ||
# all else defaults -> 180 days (6 months) | ||
|
||
# **why?** | ||
# To keep the repo in a clean state from issues that aren't relevant anymore | ||
|
||
# **when?** | ||
# Once a day | ||
|
||
name: "Close stale issues and PRs" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
uses: dbt-labs/actions/.github/workflows/stale-bot-matrix.yml@main |