Skip to content

Commit

Permalink
[INFRA] Adding logic to prevent Buildkite triggered jobs on merge to …
Browse files Browse the repository at this point in the history
…`main`. (#7010)

Co-authored-by: Cee Chen <[email protected]>
  • Loading branch information
1Copenut and cee-chen committed Jul 31, 2023
1 parent f311713 commit 90909b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/pipelines/pipeline_pull_request_deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ steps:
- agents:
provider: "gcp"
command: .buildkite/scripts/pipeline_deploy_docs.sh
if: build.branch != "main" # We don't want to deploy docs on main, only on manual release
1 change: 1 addition & 0 deletions .buildkite/pipelines/pipeline_pull_request_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ steps:
- agents:
provider: "gcp"
command: .buildkite/scripts/pipeline_test.sh
if: build.branch != "main" # We're skipping testing commits in main for now to maintain parity with previous Jenkins setup
artifact_paths:
- "cypress/screenshots/**/*.png"

0 comments on commit 90909b6

Please sign in to comment.