| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Adds a GitHub Actions workflow that automatically enables auto-merge (squash) on Dependabot PRs for patch and minor version updates. GitHub's auto-merge will wait for all required status checks to pass before merging, so major/breaking updates still require manual review. https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
The actor name string could theoretically be spoofed. The user ID 49699333 is the immutable numeric ID for the dependabot[bot] GitHub App and cannot be forged by other users. https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
Remove the patch/minor restriction and the now-unused fetch-metadata step so all Dependabot PRs are auto-merged (major included). https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
Rewrite to closely follow the recommended pattern from: https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request - Use user.login check with repository guard - Pin fetch-metadata action to commit SHA - Keep squash merge strategy and auto-merge all update types https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
Test ReportTest Results
Code Coverage (Java 25)
Changed Class Coverage (2 classes)
|
Sorry, something went wrong.
The workflow was appearing as a (skipped) build step on every PR. Switching to pull_request_target prevents it from showing up at all on non-Dependabot PRs. https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
| Back | FazBrowse Home | New Git URL |
Lately we've received a ton of dependabot PRs and I'd rather automatically merge if all builds pass. Dependabot doesn't have a config option for this, so instead I'm following the GitHub docs recommendation to have a GitHub action on pull request creation, to automerge Dependabot PRs only https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
Summary