Skip to content

ci: verify every Dependabot PR commit - #16

Merged
jarvisimus merged 1 commit into
mainfrom
ci/dependabot-commit-trust
Jul 18, 2026
Merged

ci: verify every Dependabot PR commit#16
jarvisimus merged 1 commit into
mainfrom
ci/dependabot-commit-trust

Conversation

@jarvisimus

Copy link
Copy Markdown
Collaborator

Summary

  • distinguish package publisher changes from human-added PR commits
  • verify every Dependabot PR commit through the GitHub API before enabling native auto-merge
  • require Dependabot authorship, GitHub web-flow committer identity, and a valid verified signature
  • fail closed and revoke auto-merge when metadata or commit trust fails
  • bind revocation to the expected head SHA and cancel stale per-PR workflow runs

Security properties

  • pull_request_target never checks out or executes PR code
  • metadata and commit inspection remain read-only
  • write permissions exist only in the enable/revoke jobs
  • package publisher changes continue to require manual review
  • major dependency updates continue to require manual review

Verification

  • actionlint v1.7.12
  • YAML parse
  • staged diff check
  • exact trust predicate exercised against all current Dependabot PRs
  • independent Codex review: no actionable regressions

@jarvisimus
jarvisimus merged commit f41403a into main Jul 18, 2026
13 checks passed
@jarvisimus
jarvisimus deleted the ci/dependabot-commit-trust branch July 18, 2026 16:01
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.

1 participant