Skip to content

Commit

Permalink
Add github actions to dependabot, auto merge on green for dependabot PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed Feb 4, 2021
1 parent b3fd44a commit ab5fcf4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ updates:
directory: "/"
schedule:
interval: daily

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
20 changes: 20 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,23 @@ pull_request_rules:
users:
- objectiser
- jpkrohling

- name: automatic merge for dependabot pull requests
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- "status-success=basic-checks"
- "status-success=end-to-end (smoke)"
- "status-success=end-to-end (es)"
- "status-success=end-to-end (cassandra)"
- "status-success=end-to-end (streaming)"
- "status-success=end-to-end (examples1)"
- "status-success=end-to-end (examples2)"
- "status-success=end-to-end (generate)"
- "status-success=end-to-end (es-otel)"
- "status-success=end-to-end (streaming-otel)"
- "status-success=DCO"
- "status-success=WIP"
actions:
merge:
method: squash
commit_message: title+body

0 comments on commit ab5fcf4

Please sign in to comment.