fix(ci): Dependabot auto-merge permanent fix#848
Merged
Conversation
… auto-merge Root cause: dependabot/fetch-metadata checks commit.verification via REST API. The actions/checkout step is unnecessary and the skip-commit-verification input bypasses the failing signature check. Changes: - Remove unnecessary actions/checkout step (security risk with pull_request_target) - Add skip-commit-verification: true to dependabot/fetch-metadata - Simplify merge logic (remove manual CI/mergeability checks)
Deploying do-epub-studio with
|
| Latest commit: |
e8ad956
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ded36a2b.do-epub-studio.pages.dev |
| Branch Preview URL: | https://fix-dependabot-auto-merge-pe.do-epub-studio.pages.dev |
Contributor
Up to standards ✅🟢 Issues
|
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
actions/checkoutstep (security risk withpull_request_target)skip-commit-verification: truetodependabot/fetch-metadatato bypass failing signature checkgh pr merge --autohandles queuing)Root Cause
dependabot/fetch-metadatacheckscommit.verification?.verifiedvia GitHub REST API. On older PRs or GHES, this check fails with "Dependabot commit signature is not verified, refusing to proceed." The fix addsskip-commit-verification: truewhich is the documented escape hatch.Testing
./scripts/validate-workflows.sh(actionlint + zizmor)