This component manages pipeline execution. By default the component skips duplicate merge request pipelines and commit messages that have the keyword skip.
Usage
Example to skip branches
This will skip pipelines executed in the branch develop.
- Create a new pipeline file
include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/workflow@stable
inputs:
name: project
pattern-branch-skip: '/^develop\$/'
Other examples of regex patterns to skip branches:
/^(?:main|dev)\$/- skip all branches starting withmainordev
Inputs
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| pattern-branch-skip | Regex pattern to skip the pipeline based on the branch name. Use https://github.com/google/re2/wiki/Syntax | string | |
| pattern-title-skip | Regex pattern to skip the pipeline based on the commit title/message. | /\[.*skip.*\]/ | string |