Skip to content
Snippets Groups Projects

Allow users to configure skip ci behavior for pipeline execution policy

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -11,8 +11,8 @@ class Config
DEFAULT_SKIP_CI_STRATEGY = { allowed: false }.freeze
POLICY_JOB_SUFFIX = ':policy'
attr_reader :content, :config_strategy, :suffix_strategy, :policy_project_id, :policy_index, , :name,
:skip_ci_strategy
attr_reader :content, :config_strategy, :suffix_strategy, :policy_project_id, :policy_index, :name,
:skip_ci_strategy
def initialize(policy:, policy_project_id:, policy_index:)
@content = policy.fetch(:content).to_yaml
Loading