lib/danger/ci_source/bitrise.rb in danger-5.5.0 vs lib/danger/ci_source/bitrise.rb in danger-5.5.1
- old
+ new
@@ -15,11 +15,10 @@
# bundle exec danger
# ```
#
# ### Token Setup
#
- # Add the `DANGER_GITHUB_API_TOKEN` to your workflow's App Env Vars.
- # Warning: adding the token as a Secret Env Var will not work for PR builds, as [Bitrise does not expose secret vars to PRs](https://bitrise.uservoice.com/forums/235233-general/suggestions/11701587-make-secret-env-variables-available-for-prs-from-t).
+ # Add the `DANGER_GITHUB_API_TOKEN` to your workflow's [Secret App Env Vars](https://blog.bitrise.io/anyone-even-prs-can-have-secrets).
#
class Bitrise < CI
def self.validates_as_ci?(env)
env.key? "BITRISE_IO"
end