GitLab CI: No pipeline created — pipeline filtered out by workflow:rules / "The rules configuration prevented any jobs from being added to the pipeline"
Your workflow:rules or job-level rules: evaluated to "never" for this event, so GitLab created no pipeline or no jobs.
pipeline filtered out by workflow:rulesThe rules configuration prevented any jobs from being added to the pipelineNo stages / jobs for this pipelinePipeline cannot be created: filtered out by workflow rulesno jobs run for this merge request Meaning
Rules are evaluated top to bottom and the first match wins; if nothing matches the default is "never" for jobs with rules. Merge request pipelines need $CI_PIPELINE_SOURCE == "merge_request_event"; branch pipelines need $CI_COMMIT_BRANCH. Combine them carefully to avoid duplicate pipelines.
Common causes
- No rule matches the event (push vs merge request vs schedule)
- Rules mix
only/exceptandrules - Variable name typo (
$CI_COMMIT_BRANCH) - All jobs have
when: neverfor this case - Tag pipelines missing
$CI_COMMIT_TAGrule
⚡ Quick fix
- Add an explicit rule for every event you need
- Debug with
CI/CD → Editor → Validate pipeline source - Use
workflow:rulesto prevent duplicates
Detailed fix by platform
GitLab CI
- Echo variables in a debug job:
script: - env | grep CI_to see what is available
Code examples
Branch and merge request pipelines
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCHHow to diagnose
- Event — Push, MR, tag or schedule?
- Rules — Does any rule match?
- Variables — Correct names?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- .gitlab-ci.yml invalid GitLab CI: Found errors in your .gitlab-ci.yml: jobs:build config contains unknown keys: scripts
- Cannot connect to the Docker daemon (GitLab) GitLab CI: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
- failed to pull image (GitLab) GitLab CI: ERROR: Job failed: failed to pull image "registry.example.com/app:latest" with specified policies [always]: access forbidden
Most viewed in CI/CD
- The process '/usr/bin/git' failed with exit code 128 GitHub Actions: Error: The process '/usr/bin/git' failed with exit code 128
- Resource not accessible by integration GitHub Actions: Error: Resource not accessible by integration (403)
- ComparisonError: manifest generation failed Argo CD: ComparisonError: rpc error: code = Unknown desc = Manifest generation error (cached): kustomize build failed
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Oct 2026