gitlab-ce/danger/secrets_initializer/Dangerfile

11 lines
445 B
Ruby

# frozen_string_literal: true
if helper.all_changed_files.detect { |file| file == 'config/initializers/01_secret_token.rb' }
markdown <<~MSG
## Application secrets changes
This merge request makes changes to application secrets.
Please review the [required steps to avoid upgrade or deployment problems](https://docs.gitlab.com/development/application_secrets/#warning-before-you-add-a-new-secret-to-application-secrets).
MSG
end