ci: use common workflow that auto-cancel earlier MR pipelines

This commit is contained in:
Fu Hanxi
2026-02-06 15:46:28 +01:00
parent 66c0a4d658
commit 4b1072a6d7
3 changed files with 1 additions and 25 deletions
-7
View File
@@ -314,10 +314,3 @@ default:
- fetch_submodules
- export EXTRA_CFLAGS=${PEDANTIC_CFLAGS}
- export EXTRA_CXXFLAGS=${PEDANTIC_CXXFLAGS}
retry:
max: 2
when:
# In case of a runner failure we could hop to another one, or a network error could go away.
- runner_system_failure
# Job execution timeout may be caused by a network issue.
- job_execution_timeout
-3
View File
@@ -16,9 +16,6 @@
.patterns-example-readme: &patterns-example-readme
- "examples/**/*.md"
.patterns-docs-preview: &patterns-docs-preview
- "docs/**/*"
.if-protected-check: &if-protected-check
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)'