chore: remove dependabot-dedupe workflow#167
Merged
layershifter merged 2 commits intomicrosoft:mainfrom May 7, 2026
Merged
Conversation
📊 Bundle size report✅ No changes found |
94e25ed to
60796f4
Compare
The workflow used a pull_request_target + checkout(head_ref) + push pattern that CodeQL flags with three critical actions/untrusted-checkout alerts. After weighing the trade-offs between hardening the workflow and removing it, removal wins: - The workflow's job (auto-rewriting yarn.lock when dependabot's install left duplicate entries) only fires on the subset of dependabot PRs that touch deps with overlapping resolution paths, which is rare. - ci.yml already runs `yarn dedupe --check` on every PR, so any un-deduped lockfile blocks merge — the difference is whether a workflow auto-fixes it or a maintainer pushes one commit. - Forcing a maintainer to touch the rare dependabot PR that needs dedupe is a feature on a security-sensitive library: the PR gets human eyes before merging. The hardened single-job and two-workflow alternatives were drafted and reviewed; neither was worth the maintenance + security review overhead for the volume of PRs this would actually affect. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
60796f4 to
daadff5
Compare
This was referenced May 6, 2026
miroslavstastny
approved these changes
May 6, 2026
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.
Summary
Removes
.github/workflows/dependabot-dedupe.yml. The workflow used apull_request_target+checkout(head_ref)+ push pattern that CodeQL flags with 3 criticalactions/untrusted-checkout/criticalalerts.🤖 Generated with Claude Code