Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Oct 20, 2025

This PR adds a GitHub workflow to automatically manage Dependabot pull requests.

This workflow uses the ad/dependabot-auto-approve@v1 GitHub Action, which may need to be explicitly whitelisted in the organization's settings.

@Marenz Marenz requested review from Copilot and removed request for Copilot October 20, 2025 13:20
@Marenz Marenz requested a review from a team as a code owner October 20, 2025 13:20
@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Oct 20, 2025
@Marenz Marenz force-pushed the add-dependabot-workflow branch from 155e353 to f0ca2ac Compare October 20, 2025 13:24
Copy link
Contributor

@llucax llucax left a comment

Choose a reason for hiding this comment

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

Needs changes to work with protobuf/grpc updates.

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
@Marenz Marenz force-pushed the add-dependabot-workflow branch from f0ca2ac to 40d9468 Compare October 22, 2025 10:04
Copilot AI review requested due to automatic review settings October 22, 2025 10:04
Copy link

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 introduces automated management of Dependabot pull requests through a new GitHub Actions workflow that approves and merges dependency updates automatically.

Key changes:

  • Added a GitHub workflow that triggers on all pull requests from Dependabot
  • Configured auto-approval and auto-merge for all dependency types using the ad/dependabot-auto-approve@v1 action

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +13 to +15
- uses: ad/dependabot-auto-approve@v1
with:
dependency-type: 'all'
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

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

Auto-merging all dependency types without validation could introduce breaking changes or security vulnerabilities. Consider restricting auto-merge to patch updates only, or implement additional checks (e.g., test suite passing) before merging.

Suggested change
- uses: ad/dependabot-auto-approve@v1
with:
dependency-type: 'all'
- name: Run tests
run: |
npm ci
npm test
- uses: ad/dependabot-auto-approve@v1
with:
dependency-type: 'production'
update-type: 'version-update:semver-patch'

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants