Skip to content

Commit

Permalink
[get_github_release] Use GITHUB_API_TOKEN for default for consistency (
Browse files Browse the repository at this point in the history
…fastlane#15995)

* Use GITHUB_API_TOKEN for default for consistency

* Set code_gen_sensitive and default_value_dynamic properly

Co-Authored-By: Josh Holtz <[email protected]>

Co-authored-by: Josh Holtz <[email protected]>
chuganzy and Josh Holtz authored Feb 17, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3091bec commit ca862a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastlane/lib/fastlane/actions/get_github_release.rb
Original file line number Diff line number Diff line change
@@ -129,6 +129,9 @@ def self.available_options
FastlaneCore::ConfigItem.new(key: :api_token,
env_name: "FL_GITHUB_RELEASE_API_TOKEN",
sensitive: true,
code_gen_sensitive: true,
default_value: ENV["GITHUB_API_TOKEN"],
default_value_dynamic: true,
description: "GitHub Personal Token (required for private repositories)",
optional: true)
]

0 comments on commit ca862a4

Please sign in to comment.