Skip to content
Snippets Groups Projects
Verified Commit 81ea2134 authored by Grant Hickman's avatar Grant Hickman :palm_tree: Committed by GitLab
Browse files

Add ci skip config option in PEP docs

parent 52cf8a71
No related branches found
No related tags found
3 merge requests!181325Fix ambiguous `created_at` in project.rb,!179611Draft: Rebase CR approach for zoekt assignments,!178072Add ci skip config option in PEP docs
......@@ -541,3 +541,24 @@ pipeline_execution_policy:
excluding:
- id: 456
```
### Configure `ci_skip` in a pipeline execution policy
In the following example, the pipeline execution policy is enforced, and [skipping CI](#skip_ci-type) is disallowed except for the user with ID `75`.
```yaml
pipeline_execution_policy:
- name: My pipeline execution policy with ci.skip exceptions
description: 'Enforces CI/CD jobs'
enabled: true
pipeline_config_strategy: inject_ci
content:
include:
- project: group-a/project1
file: README.md
skip_ci:
allowed: false
allowlist:
users:
- id: 75
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment