Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab
Commits
81ea2134
Verified
Commit
81ea2134
authored
1 month ago
by
Grant Hickman
Committed by
GitLab
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Add ci skip config option in PEP docs
parent
52cf8a71
No related branches found
No related tags found
3 merge requests
!181325
Fix ambiguous `created_at` in project.rb
,
!179611
Draft: Rebase CR approach for zoekt assignments
,
!178072
Add ci skip config option in PEP docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/user/application_security/policies/pipeline_execution_policies.md
+21
-0
21 additions, 0 deletions
...lication_security/policies/pipeline_execution_policies.md
with
21 additions
and
0 deletions
doc/user/application_security/policies/pipeline_execution_policies.md
+
21
−
0
View file @
81ea2134
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment