Skip to content

Commit 2473470

Browse files
authored
Allow using BUILDKITE_API_TOKEN as well as BUILDKITE_TOKEN (#386))
2 parents c72d0ed + b0294d3 commit 2473470

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _None_
1010

1111
### New Features
1212

13-
_None_
13+
* Allow using the `BUILDKITE_API_TOKEN` environment variable for the `buildkite_trigger_build` action. [#386]
1414

1515
### Bug Fixes
1616

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def self.available_options
3636
[
3737
FastlaneCore::ConfigItem.new(
3838
key: :buildkite_token,
39-
env_name: 'BUILDKITE_TOKEN',
39+
env_names: %w[BUILDKITE_TOKEN BUILDKITE_API_TOKEN],
4040
description: 'Buildkite Personal Access Token',
4141
type: String,
4242
sensitive: true

0 commit comments

Comments
 (0)