Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/auto-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dependabot Auto Manage
on: pull_request
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

The workflow triggers on all pull_request events without restricting to specific activity types. This means it will run on opened, synchronize, reopened, and other PR events, potentially causing multiple approval/merge attempts. Consider specifying activity types like 'on: pull_request: types: [opened, synchronize]' to prevent unnecessary runs.

Suggested change
on: pull_request
on:
pull_request:
types: [opened, synchronize]

Copilot uses AI. Check for mistakes.

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: frequenz-floss/dependabot-auto-approve@v1.3.0
with:
dependency-type: 'all'
Copy link

Copilot AI Nov 3, 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 including major updates could introduce breaking changes without review. Consider setting dependency-type to 'production:semver-patch' or 'production:semver-minor' to limit auto-merge to safer updates, consistent with the grouped update strategy in .github/dependabot.yml which treats major updates separately.

Suggested change
dependency-type: 'all'
dependency-type: 'production:semver-patch'

Copilot uses AI. Check for mistakes.
auto-merge: 'true'
merge-method: 'merge'
add-label: 'auto-merged'