Skip to content

Skip GitLab pipelines for GitHub merge queue#11314

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomasterfrom
sarahchen6/minimize-gh-mq-jobs
May 8, 2026
Merged

Skip GitLab pipelines for GitHub merge queue#11314
gh-worker-dd-mergequeue-cf854d[bot] merged 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!

@sarahchen6 sarahchen6 added tag: no release notes Changes to exclude from release notes and removed tag: no release notes Changes to exclude from release notes labels May 8, 2026
@sarahchen6 sarahchen6 added this pull request to the merge queue May 8, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 8, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 8, 2026

View all feedbacks in Devflow UI.

2026-05-08 13:48:39 UTC ℹ️ Start processing command /merge


2026-05-08 13:48:44 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-08 15:04:27 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 8, 2026
@sarahchen6
Copy link
Copy Markdown
Contributor Author

Confirmed that no GH MQ GitLab pipelines were created by looking at all recent GitLab pipelines

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 98dbe8e into master May 8, 2026
577 of 582 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the sarahchen6/minimize-gh-mq-jobs branch May 8, 2026 15:04
@github-actions github-actions Bot added this to the 1.63.0 milestone May 8, 2026
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