Use CI_DEFAULT_BRANCH as the default branch
1 unresolved thread
1 unresolved thread
Do not hard code branch name in the yaml config, as it becomes extra work for downstreams using the same recipes. Instead, rely on the CI variable $CI_DEFAULT_BRANCH
Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com
Merge request reports
Activity
assigned to @ritesh
82 82 test-pdf: 83 83 extends: .gen-pdf 84 84 except: 85 - master 85 - ${CI_DEFAULT_BRANCH} I am surprised that variables works here but the pipeline indeed has a
test-pdf
job and nopages
job. Let's merge then.Ahahah, in fact it was simply not expanding the variable. The pipeline on
master
still has nopages
branch.I guess you have some fixup to do. I would recommend to switch to
rules:
, with some attention to avoid duplicates.Fixup at !618 (merged)
Please register or sign in to reply