From 657c422d285d45873b7a61339ff625c9a6b92038 Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Wed, 24 Apr 2024 12:46:21 +1000 Subject: [PATCH] Add `buildkite_token` to `buildkite_trigger_build_action` in tests The tests passed on my machine but failed in CI, see https://buildkite.com/automattic/release-toolkit/builds/1602#018f0986-a43b-49d1-884d-50c62e8af094 It turns out I had a `BUILDKITE_TOKEN` in my environment which I had forgotten about... --- spec/buildkite_trigger_build_action_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/buildkite_trigger_build_action_spec.rb b/spec/buildkite_trigger_build_action_spec.rb index ff77b1c6d..2cce37cd5 100644 --- a/spec/buildkite_trigger_build_action_spec.rb +++ b/spec/buildkite_trigger_build_action_spec.rb @@ -21,6 +21,7 @@ # rubocop:enable RSpec/VerifiedDoubles url = run_described_fastlane_action( + buildkite_token: 'fake-token', branch: 'branch', commit: '1a2b3c', pipeline_file: 'pipeline.yml', @@ -43,6 +44,7 @@ expect(FastlaneCore::UI).to receive(:crash!) run_described_fastlane_action( + buildkite_token: 'fake-token', branch: 'branch', commit: '1a2b3c', pipeline_file: 'pipeline.yml',