Skip to content

feat(ci): add auto-approval to automated PR workflows#283

Merged
j-d-ha merged 4 commits into
mainfrom
fix/update-dependabot-flow
Jan 11, 2026
Merged

feat(ci): add auto-approval to automated PR workflows#283
j-d-ha merged 4 commits into
mainfrom
fix/update-dependabot-flow

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Jan 11, 2026

Copy link
Copy Markdown
Collaborator

🚀 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:

  • Added PR approval step to dependabot-auto-merge.yml workflow
  • Added PR approval step to update-changelog.yaml workflow
  • Both workflows now approve their created PRs before attempting auto-merge

✅ Checklist

  • My changes build cleanly
  • I've added/updated relevant tests
  • I've added/updated documentation or README
  • I've followed the coding style for this project
  • I've tested the changes locally (if applicable)

🧪 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_TOKEN to approve their own PRs, which is a common pattern for automated workflows.

- 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.
@github-actions github-actions Bot added the type: feat New feature label Jan 11, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jan 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a986bdb...6d0d477. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@j-d-ha
j-d-ha merged commit 83d4cbf into main Jan 11, 2026
8 checks passed
@j-d-ha
j-d-ha deleted the fix/update-dependabot-flow branch January 11, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant