Repository navigation
feat: add reusable workflow to remind teams about open Dependabot PRs - #305
Open
cryptodev-2s wants to merge 61 commits into
Open
cryptodev-2s wants to merge 61 commits into
cryptodev-2s wants to merge 61 commits into
Conversation
cryptodev-2s
marked this pull request as draft
November 2, 2026 21:43
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
November 3, 2026 14:14
37dd311 to
2280df2
Compare
cryptodev-2s
marked this pull request as ready for review
November 9, 2026 15:12
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
2 times, most recently
from
November 17, 2026 14:39
2116cf6 to
199f4bd
Compare
cryptodev-2s
changed the base branch from
main
to
feat/shared-workflow-helpers
November 17, 2026 14:39
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
November 17, 2026 14:44
199f4bd to
ecbfd2a
Compare
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
November 24, 2026 11:59
ecbfd2a to
30554e8
Compare
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
November 24, 2026 12:48
30554e8 to
9abc290
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5c288d1. Configure here.
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
December 2, 2026 13:03
5c288d1 to
f4c2114
Compare
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
4 times, most recently
from
December 2, 2026 15:07
0c43d15 to
5a95a97
Compare
This was referenced Dec 2, 2026
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
5 times, most recently
from
December 3, 2026 16:37
fb7b788 to
7e0fd96
Compare
A repository input (default: the calling repository) makes it possible to run the action from a fork against the real repo, and the name is checked so it can't change the search query.
This reverts commit 5c288d1.
Drops what nothing needs (the note input, the block overflow handling and the client side author checks), merges duplicated tables, and trims comments.
Fail the Slack step when the webhook rejects the message, read up to 100 review requests, reject a note that is too long once the team tags and guide link are added, and keep teams in a Map so a team named constructor cannot break the report.
The PR search pages through the cursor with Octokit, each token gets its own client, and the action installs the github-tools dependencies first.
cryptodev-2s
force-pushed
the
feat/dependabot-pr-reminder
branch
from
December 3, 2026 21:03
26cb14a to
1a52d4e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Explanation
Dependabot PRs sit unnoticed because nobody is told they're theirs. This adds a reusable workflow that posts a Slack message of the open Dependabot PRs, grouped by CI state, with the owning teams tagged under each one and short instructions on what to do. Teams own testing, approving and merging their own PRs.
Each repo calls it from its own cron and webhook (core and the extension first), and other teams can point it at their own channel. Stacked on #338.
A few choices worth knowing:
Note
Low Risk
Additive GitHub Actions automation with read-only repo/planning access and optional Slack webhooks; no application runtime changes.
Overview
Adds a reusable workflow and composite action that scan open, non-draft Dependabot PRs in a repo, bucket them by CI state and owning team (from reviewer requests), and post a formatted Slack message when any exist.
The implementation is a Node script that queries GitHub via GraphQL (including CI rollup), optionally loads team Slack handles from
MetaMask-planningtopology, classifies PRs (per-team ownership, fallback for >5 teams or no team), and writes a block-limited Slack payload. Callers configure owner teams, fallback team, reminder text, and a guide link; the workflow exchanges a token for planning read access and sends the webhook only whenhas-prsis true.Vitest coverage is extended with unit tests across classification, API mapping, payload layout, and CLI edge cases;
vitest.config.mtsthresholds are bumped accordingly.Reviewed by Cursor Bugbot for commit 5c288d1. Bugbot is set up for automated code reviews on this repo. Configure here.