summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2021-09-28 16:37:16 -0500
committerFederico Mena Quintero <federico@gnome.org>2021-09-28 16:37:16 -0500
commitbfbf12774d67615fe6c49e8a4a54ee003ace400d (patch)
treebef814a522d812564aded26d0663faeca2584234 /.gitlab-ci.yml
parent899ccd0af97b6a71fa16065adb409610fa9a895d (diff)
downloadlibrsvg-bfbf12774d67615fe6c49e8a4a54ee003ace400d.tar.gz
Rename references to the master branch to main
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/594>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c34959a0..91867e49 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -137,15 +137,15 @@ cargo_bench:
sudo -E git checkout ${CI_DEFAULT_BRANCH}
for BENCH in "${BENCHES[@]}"
do
- sudo -E cargo bench --bench $BENCH -- --noplot --save-baseline master
+ sudo -E cargo bench --bench $BENCH -- --noplot --save-baseline main
done
sudo -E git checkout ${CI_COMMIT_SHA}
for BENCH in "${BENCHES[@]}"
do
- sudo -E cargo bench --bench $BENCH -- --noplot --baseline master
+ sudo -E cargo bench --bench $BENCH -- --noplot --baseline main
done
rules:
- - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "master"'
+ - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "main"'
when: manual
allow_failure: true
artifacts:
@@ -241,4 +241,4 @@ pages:
paths:
- public
rules:
- - if: '$CI_COMMIT_BRANCH == "master"'
+ - if: '$CI_COMMIT_BRANCH == "main"'