Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@liudger
Copy link
Owner

@liudger liudger commented Dec 11, 2025

This pull request adds a new GitHub Actions workflow to automatically approve pull requests created by the Renovate bot. This helps streamline dependency updates and reduces manual intervention for routine PRs.

Automation:

  • Added .github/workflows/auto-approve-renovate.yml to automatically approve PRs opened by renovate[bot] using the hmarr/auto-approve-action@v4 action.

Copilot AI review requested due to automatic review settings December 11, 2025 14:21
@liudger liudger added the ci Work that improves the continue integration. label Dec 11, 2025
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@c2d8e3a). Learn more about missing BASE report.
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1274   +/-   ##
=======================================
  Coverage        ?   99.55%           
=======================================
  Files           ?        6           
  Lines           ?      670           
  Branches        ?       82           
=======================================
  Hits            ?      667           
  Misses          ?        0           
  Partials        ?        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds automation to streamline the dependency update process by automatically approving pull requests from the Renovate bot. The workflow uses pull_request_target trigger with appropriate write permissions scoped to pull requests only, and includes a safety check to ensure it only runs for PRs created by renovate[bot].

Key changes:

  • Introduces a new GitHub Actions workflow that auto-approves Renovate PRs using the hmarr/auto-approve-action@v4 action
  • Uses conditional execution (if: github.actor == 'renovate[bot]') to restrict approval to Renovate bot PRs only
  • Grants minimal necessary permissions (pull-requests: write) for the approval action

@sonarqubecloud
Copy link

@liudger liudger merged commit 592f2e7 into main Dec 11, 2025
29 checks passed
@liudger liudger deleted the auto-approve branch December 11, 2025 14:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants