Skip to content

Add workflow to comment on a PR when it was dequeued - #4263

Merged
mbg merged 3 commits into
mainfrom
mbg/pr-dequeue-notify
Oct 23, 2026
Merged

mbg merged 3 commits into
mainfrom
mbg/pr-dequeue-notify

Conversation

@mbg

@mbg mbg commented Oct 22, 2026

Copy link
Copy Markdown
Member

To make this more visible.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Environments:

  • Testing/None - This change does not impact any CodeQL workflows in production.

How did/will you validate this change?

  • None - I am not validating these changes.

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Development/testing only - This change cannot cause any failures in production.

How will you know if something goes wrong after this change is released?

  • Other - Please provide details.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

@mbg
mbg requested a review from a team as a code owner October 22, 2026 13:48
Copilot AI max review requested due to automatic review settings October 22, 2026 13:48
@github-actions github-actions Bot added the size/XS Should be very easy to review label Oct 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unresolved correctness and permission issues prevent reliable, accurate dequeue notifications.

4 open issues
What changed in this PR

Adds an internal GitHub Actions workflow to make merge-queue removals more visible through pull request comments.

Changes:

  • Runs a notification job when a pull request is dequeued.
  • Uses GitHub CLI to post removal details and guidance to resolve issues and re-enqueue.
File Description
.github/​workflows/​pr-dequeued.yml Adds the dequeue-triggered notification workflow and comment command.

Review effort: Max

name: PR dequeued

on:
pull_request:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Absolutely not.

Comment thread .github/workflows/pr-dequeued.yml
Comment thread .github/workflows/pr-dequeued.yml Outdated
Comment thread .github/workflows/pr-dequeued.yml Outdated
@mbg
mbg force-pushed the mbg/pr-dequeue-notify branch from c2a4d55 to 0408904 Compare October 22, 2026 15:11
henrymercer
henrymercer previously approved these changes Oct 23, 2026
@mbg
mbg added this pull request to the merge queue Oct 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@github-merge-queue[bot] The pull request was removed from the merge queue (CI_FAILURE). Please resolve any issues if required and enqueue the PR again.

@mbg
mbg added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit 3306ba4 Oct 23, 2026
228 checks passed
@mbg
mbg deleted the mbg/pr-dequeue-notify branch October 23, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants