Unable to run first pipeline in projects when Auto DevOps is enabled at group level
Summary
When Auto DevOps is enabled at the group level, new projects within the group inherit the setting but are unable to run an initial pipeline per our documented steps.
The following error is encountered when attempting to run the first pipeline on the project:
Pushing a test file to the new repository also showed that no pipeline was automatically run.
This issue was raised in a customer support ticket.
Steps to reproduce
- On the left sidebar, select Search or go to and find a group.
- Select Settings > CI/CD.
- Expand Auto DevOps.
- Select the Default to Auto DevOps pipeline checkbox.
- Select Save changes.
- Create a project in that group.
- Select Build > Pipelines.
- Select Run pipeline.
Example Project
https://gitlab.com/djb_ultimate_group/495871-subgroup/dev-test-2
What is the current bug behavior?
Attempting to run a pipeline on the project causes the above mentioned "Pipeline filtered out by workflow rules." error. Pushes to the repository do not trigger an Auto DevOps pipeline to run, despite the setting appearing enabled in the project.
What is the expected correct behavior?
Should be able to successfully run a first time Auto DevOps pipeline per our documented steps. Pushes to the repository should trigger an Auto DevOps pipeline if the Default to Auto DevOps setting is enabled in the project.
Output of checks
This bug happens on GitLab.com
Workarounds
Open the project in question, navigate to Settings > CI/CD > Auto DevOps and click save changes
button. This initiates a pipeline in the project, and then the feature works as expected thereafter.
Note: This workaround does not scale, and is likely unsuitable for users creating large numbers of projects via API/Terraform/etc.