Skip to content

Skip GitLab pipelines for GitHub merge queue#11314

Open
sarahchen6 wants to merge 1 commit intomasterfrom
sarahchen6/minimize-gh-mq-jobs
Open

Skip GitLab pipelines for GitHub merge queue#11314
sarahchen6 wants to merge 1 commit intomasterfrom
sarahchen6/minimize-gh-mq-jobs

Conversation

@sarahchen6
Copy link
Copy Markdown
Contributor

What Does This Do

Skip running GitLab pipelines for PRs on the GitHub merge queue

Motivation

Our current use of GitHub merge queues is that they direct PRs to the Datadog queue. However during this redirection process, a GitLab GH MQ pipeline for the PR is still created. We don't actually need this pipeline since we use the Datadog queue, so this PR should auto-cancel pipelines coming from the GH MQ. Example pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-java/-/pipelines/112036798

Additional Notes

We can test this by merging this PR via the GH MQ and checking its associated GitLab pipeline.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@sarahchen6 sarahchen6 requested a review from a team as a code owner May 7, 2026 21:00
@sarahchen6 sarahchen6 requested review from amarziali and removed request for a team May 7, 2026 21:00
@sarahchen6 sarahchen6 added tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels May 7, 2026
Copy link
Copy Markdown
Contributor

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants