-
Notifications
You must be signed in to change notification settings - Fork 5
Migrate to frequenz-floss dependabot-auto-approve action #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v0.x.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| name: Dependabot Auto Manage | ||||||
| on: pull_request | ||||||
|
|
||||||
| permissions: | ||||||
| contents: write | ||||||
| pull-requests: write | ||||||
|
|
||||||
| jobs: | ||||||
| dependabot: | ||||||
| runs-on: ubuntu-latest | ||||||
| if: github.actor == 'dependabot[bot]' | ||||||
| steps: | ||||||
| - uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2 | ||||||
| with: | ||||||
| dependency-type: 'all' | ||||||
| auto-merge: 'true' | ||||||
|
Comment on lines
+15
to
+16
|
||||||
| merge-method: 'merge' | ||||||
|
||||||
| merge-method: 'merge' | |
| merge-method: 'squash' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the 'pull_request' trigger without specifying types means this workflow runs on every PR action (opened, synchronized, reopened, etc.), potentially triggering multiple auto-merge attempts. Consider specifying the trigger type as 'on: pull_request: types: [opened]' or ensuring the action is idempotent for repeated runs.