-
Notifications
You must be signed in to change notification settings - Fork 515
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 slugify-handle-empty-strings
- Loading branch information
Showing
37 changed files
with
670 additions
and
277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
resolves # | ||
|
||
This is a: | ||
- [ ] documentation update | ||
- [ ] bug fix with no breaking changes | ||
- [ ] new functionality | ||
- [ ] a breaking change | ||
### Problem | ||
|
||
All pull requests from community contributors should target the `main` branch (default). | ||
<!--- | ||
Describe the problem this PR is solving. What is the application state | ||
before this PR is merged? | ||
--> | ||
|
||
### Solution | ||
|
||
## Description & motivation | ||
<!--- | ||
Describe your changes, and why you're making them. | ||
Describe the way this PR solves the above problem. Add as much detail as you | ||
can to help reviewers understand your changes. Include any alternatives and | ||
tradeoffs you considered. | ||
--> | ||
|
||
## Checklist | ||
- [ ] This code is associated with an Issue which has been triaged and [accepted for development](https://docs.getdbt.com/docs/contributing/oss-expectations#pull-requests). | ||
- [ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered) | ||
- [ ] BigQuery | ||
- [ ] Postgres | ||
- [ ] Redshift | ||
- [ ] Snowflake | ||
- [ ] I followed guidelines to ensure that my changes will work on "non-core" adapters by: | ||
- [ ] dispatching any new macro(s) so non-core adapters can also use them (e.g. [the `star()` source](https://github.com/dbt-labs/dbt-utils/blob/main/macros/sql/star.sql)) | ||
- [ ] using the `limit_zero()` macro in place of the literal string: `limit 0` | ||
- [ ] using `dbt.type_*` macros instead of explicit datatypes (e.g. `dbt.type_timestamp()` instead of `TIMESTAMP` | ||
- [ ] This code is associated with an [issue](https://github.com/dbt-labs/dbt-utils/issues) which has been triaged and [accepted for development](https://docs.getdbt.com/docs/contributing/oss-expectations#pull-requests). | ||
- [ ] I have read [the contributing guide](https://github.com/dbt-labs/dbt-utils/blob/main/CONTRIBUTING.md) and understand what's expected of me | ||
- [ ] I have run this code in development and it appears to resolve the stated issue | ||
- [ ] This PR includes tests, or tests are not required/relevant for this PR | ||
- [ ] I have updated the README.md (if applicable) | ||
- [ ] I have added tests & descriptions to my models (and macros if applicable) | ||
- [ ] I have added an entry to CHANGELOG.md |
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,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 |
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 we triage issues, 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 | ||
# in favor of the `triage` label so we are aware that the issue needs action. | ||
|
||
# **why?** | ||
# To help with out team triage issue tracking | ||
|
||
# **when?** | ||
# This will run when a comment is added to an issue and that issue has the `awaiting_response` label. | ||
|
||
name: Update Triage Label | ||
|
||
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 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
Oops, something went wrong.