Skip to content

Commit 921240b

Browse files
Merge branch 'trunk' into update/buildkite-test-collector
2 parents a06257e + 1fd7171 commit 921240b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ _None_
2424
- Update `octokit` to `5.6.1` This is a major version bump from version `4.18`, but is not a breaking change for the Release Toolkit because it doesn't change any public APIs for clients. [#464]
2525
- Update `danger` to `9.3.0`. This is an internal-only change and is not a breaking change for clients. [#464]
2626
- Replace `rspec-buildkite-analytics` with `buildkite-test_collector` (Buildkite renamed the gem) and update it to `2.2.0`. This is another internal-only change and is not a breaking change for clients. [#465]
27+
- Adds `ignore_pipeline_branch_filters=true` parameter to the API call triggering a Buildkite build [#468]
2728

2829
## 7.0.0
2930

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_trigger_build_action.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ def self.run(params)
1313
branch: params[:branch],
1414
commit: params[:commit],
1515
env: params[:environment].merge(pipeline_name),
16-
message: params[:message]
16+
message: params[:message],
17+
# Buildkite will not trigger a build if the GitHub activity for that branch is turned off
18+
# We want API triggers to work regardless of the GitHub activity settings, so this option is necessary
19+
# https://forum.buildkite.community/t/request-build-error-branches-have-been-disabled-for-this-pipeline/1463/2
20+
ignore_pipeline_branch_filters: true
1721
}.compact # remove entries with `nil` values from the Hash, if any
1822

1923
client = Buildkit.new(token: params[:buildkite_token])

0 commit comments

Comments
 (0)