• Shinya Maeda's avatar
    Define the default value for only/except policies · 201cd890
    Shinya Maeda authored
    Currently, if a job does not have only/except policies, the policy is considered as an unspecified state, and therefore the job is executed regardless of how it's executed and which branch/tags are targetted.
    Ideally, this should be specified as only: ['branches', 'tags'], as it indicates that unspecified policy jobs are meant to run on any git references.
    201cd890
only_policy_spec.rb 349 Bytes