feat(ci): add auto-approval to automated PR workflows#283
Merged
Conversation
- Add step to approve Dependabot PRs automatically before merge. - Change merge strategy from squash to merge for Dependabot PRs.
- Change merge strategy from `merge` to `squash` for Dependabot PRs to ensure cleaner commit history.
- Implement step to automatically approve changelog pull requests. - Ensure consistency with existing auto-merge process.
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #283 +/- ##
=======================================
Coverage 87.49% 87.49%
=======================================
Files 131 131
Lines 3246 3246
Branches 318 318
=======================================
Hits 2840 2840
Misses 302 302
Partials 104 104 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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.



🚀 Pull Request
📋 Summary
This PR enhances the automated PR workflows for both Dependabot updates and changelog updates by adding automatic PR approval before enabling auto-merge. This ensures that PRs meet branch protection requirements that mandate at least one approval before merging.
Changes:
dependabot-auto-merge.ymlworkflowupdate-changelog.yamlworkflow✅ Checklist
🧪 Related Issues or PRs
Addresses workflow automation requirements for branch protection rules.
💬 Notes for Reviewers
These changes ensure automated PRs can be auto-merged even when branch protection requires approvals. The workflows use
GITHUB_TOKENto approve their own PRs, which is a common pattern for automated workflows.