From d88307083e9ff8328b18ec9804d867ad37de29f4 Mon Sep 17 00:00:00 2001 From: Ly Nguyen Date: Fri, 6 Oct 2023 16:59:17 -0700 Subject: [PATCH 1/7] Custom barnch bug fix --- .../03-Oct-2023/custom-branch-fix-rn.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md new file mode 100644 index 00000000000..bd15eccf65b --- /dev/null +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -0,0 +1,12 @@ +--- +title: "Fix: Custom branches" +description: "October 2023: CI job runs now default to the main branch of the Git repository when a custom branch isn't set" +sidebar_label: "Fix: Custom branches" +tags: [Oct-2023] +date: 2023-10-06 +sidebar_position: 09 +--- + +If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the `main` branch of your Git repository. Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against any branch if **Custom Branch** wasn't set. + + From 870c1d734d48afaa63b4dac49493869d43fffeaf Mon Sep 17 00:00:00 2001 From: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:10:02 -0700 Subject: [PATCH 2/7] Update website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index bd15eccf65b..98af1f92e87 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -7,6 +7,6 @@ date: 2023-10-06 sidebar_position: 09 --- -If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the `main` branch of your Git repository. Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against any branch if **Custom Branch** wasn't set. +If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the `main` branch of your Git repository. Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against _any branch_ if the **Custom Branch** option wasn't set. From 1c221cce0a174ac557c85591980308381c73c5ba Mon Sep 17 00:00:00 2001 From: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:15:11 -0700 Subject: [PATCH 3/7] Update website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index 98af1f92e87..21a6524bc2b 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -1,5 +1,5 @@ --- -title: "Fix: Custom branches" +title: "Fix: Default behavior for CI job runs without a custom branch" description: "October 2023: CI job runs now default to the main branch of the Git repository when a custom branch isn't set" sidebar_label: "Fix: Custom branches" tags: [Oct-2023] From f448d934e09bac3f86e1314d1a8435241a90b921 Mon Sep 17 00:00:00 2001 From: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:15:23 -0700 Subject: [PATCH 4/7] Update website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index 21a6524bc2b..1baccf767e4 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -1,7 +1,7 @@ --- title: "Fix: Default behavior for CI job runs without a custom branch" description: "October 2023: CI job runs now default to the main branch of the Git repository when a custom branch isn't set" -sidebar_label: "Fix: Custom branches" +sidebar_label: "Fix: Default behavior for CI job runs without a custom branch" tags: [Oct-2023] date: 2023-10-06 sidebar_position: 09 From af6a480aaf67485e6b892b52a3dc4b0f12dfe155 Mon Sep 17 00:00:00 2001 From: Ly Nguyen Date: Mon, 9 Oct 2023 14:03:54 -0700 Subject: [PATCH 5/7] Fold in feedback --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index 1baccf767e4..bec6cc9b63c 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -7,6 +7,6 @@ date: 2023-10-06 sidebar_position: 09 --- -If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the `main` branch of your Git repository. Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against _any branch_ if the **Custom Branch** option wasn't set. +If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the default branch of your Git repository (for example, `main`). Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against _any branch_ or updated with new commits if the **Custom Branch** option wasn't set. From ef1c69ad755c7904e55f8518af90d7d338ce7929 Mon Sep 17 00:00:00 2001 From: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:06:54 -0700 Subject: [PATCH 6/7] Update website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index bec6cc9b63c..b3e0b60313a 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -2,7 +2,7 @@ title: "Fix: Default behavior for CI job runs without a custom branch" description: "October 2023: CI job runs now default to the main branch of the Git repository when a custom branch isn't set" sidebar_label: "Fix: Default behavior for CI job runs without a custom branch" -tags: [Oct-2023] +tags: [Oct-2023, CI] date: 2023-10-06 sidebar_position: 09 --- From cb4fd95d7fe8db7be4a076dc902e24c4e45dce0d Mon Sep 17 00:00:00 2001 From: Ly Nguyen Date: Wed, 11 Oct 2023 15:09:01 -0700 Subject: [PATCH 7/7] Add info about Azure --- .../release-notes/03-Oct-2023/custom-branch-fix-rn.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md index b3e0b60313a..06550b7d863 100644 --- a/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md +++ b/website/docs/docs/dbt-versions/release-notes/03-Oct-2023/custom-branch-fix-rn.md @@ -4,9 +4,11 @@ description: "October 2023: CI job runs now default to the main branch of the Gi sidebar_label: "Fix: Default behavior for CI job runs without a custom branch" tags: [Oct-2023, CI] date: 2023-10-06 -sidebar_position: 09 +sidebar_position: 08 --- If you don't set a [custom branch](/docs/dbt-cloud-environments#custom-branch-behavior) for your dbt Cloud environment, it now defaults to the default branch of your Git repository (for example, `main`). Previously, [CI jobs](/docs/deploy/ci-jobs) would run for pull requests (PRs) that were opened against _any branch_ or updated with new commits if the **Custom Branch** option wasn't set. +## Azure DevOps +Your Git pull requests (PRs) might not trigger against your default branch if you're using Azure DevOps and the default branch isn't `main` or `master`. To resolve this, [set up a custom branch](/faqs/Environments/custom-branch-settings) with the branch you want to target.