Skip to content

chore: remove auto-merge-dependabot reusable workflow - #28

Merged
benhigham merged 1 commit into
mainfrom
chore/remove-auto-merge-dependabot
Mar 30, 2026
Merged

benhigham merged 1 commit into
mainfrom
chore/remove-auto-merge-dependabot

Conversation

@benhigham

Copy link
Copy Markdown
Owner

Summary

  • Delete .github/workflows/auto-merge-dependabot.yml reusable workflow
  • Remove documentation references from README.md and AGENTS.md

Auto-approving and merging Dependabot PRs is a supply-chain attack vector — a compromised upstream package with a semver patch bump gets merged without human review. Dependabot PRs should be reviewed manually or via Claude Code CI review (which approves but does not auto-merge).

Caller workflows in eslint-config, prettier-config, stylelint-config, and commitlint-config are not updated as those repos are archived.

Closes #18

Test plan

  • Verify no remaining references to auto-merge-dependabot in active files
  • Confirm lint and format checks pass

Auto-approving and merging Dependabot PRs is a supply-chain attack
vector — a compromised upstream package with a semver patch bump gets
merged without human review. Dependabot PRs should be reviewed manually.

Closes #18
Copilot AI review requested due to automatic review settings March 30, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes the reusable GitHub Actions workflow that auto-approves and auto-merges Dependabot PRs, reducing supply-chain risk by ensuring dependency updates require human review (or non-merging CI review).

Changes:

  • Deleted .github/workflows/auto-merge-dependabot.yml reusable workflow.
  • Removed “Auto-merge Dependabot” documentation from README.md.
  • Removed the workflow entry from the directory tree in AGENTS.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Removes documentation section showing how to call the auto-merge Dependabot workflow.
AGENTS.md Updates the “What’s Here” tree to no longer list the removed reusable workflow.
.github/workflows/auto-merge-dependabot.yml Deletes the reusable workflow that approved/enabled auto-merge for Dependabot PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
Comment on lines 16 to 20
.github/
workflows/
lint.yml # Lint and format check on PRs and pushes to main
release-changesets.yml # Reusable: versioning and npm publishing via Changesets
auto-merge-dependabot.yml # Reusable: approve and merge Dependabot PRs by semver
ISSUE_TEMPLATE/ # Issue form templates

Copilot AI Mar 30, 2026

Copy link

Choose a reason for hiding this comment

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

There are still references to the removed auto-merge-dependabot workflow under docs/superpowers/plans/2026-03-30-code-quality-linting.md (e.g., the actionlint task and the directory tree snippet). To avoid stale docs and to match the PR’s “no remaining references” test plan, update that doc (or clarify that docs/ is intentionally out of scope).

Copilot uses AI. Check for mistakes.
@benhigham
benhigham merged commit 9948bc1 into main Mar 30, 2026
7 checks passed
@benhigham
benhigham deleted the chore/remove-auto-merge-dependabot branch March 30, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove auto-merge-dependabot.yml reusable workflow

2 participants