Skip to content

Commit

Permalink
Add workflow to validate dependabot config (#5556)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?
- Per title

## Description of the changes
- new workflow
- fix existing breaks in the config

## How was this change tested?
- CI

---------

Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro authored Jun 10, 2024
1 parent 70e8239 commit 6f2fe36
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ updates:
labels: [ "changelog:dependencies" ]

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels: [ "changelog:dependencies" ]
Expand All @@ -52,36 +53,44 @@ updates:
schedule:
interval: daily
- package-ecosystem: docker
directories:
directories:
- /docker-compose/elasticsearch/v7
- /docker-compose/elasticsearch/v8
schedule:
interval: daily
allow:
- dependency-name: "docker.elastic.co/elasticsearch/elasticsearch"
update-types: [ "version-update:semver-minor" ]
update-types:
- minor
- patch
- package-ecosystem: docker
directories:
directories:
- /docker-compose/opensearch/v1
- /docker-compose/opensearch/v2
schedule:
interval: daily
allow:
- dependency-name: "docker.elastic.co/opensearch/opensearch"
update-types: [ "version-update:semver-minor" ]
update-types:
- minor
- patch
- package-ecosystem: docker
directory: /docker-compose/kafka-integration-test
schedule:
interval: daily
allow:
- dependency-name: "bitnami/kafka"
update-types: [ "version-update:semver-minor" ]
update-types:
- minor
- patch
- package-ecosystem: docker
directories:
directories:
- /docker-compose/cassandra/v3
- /docker-compose/cassandra/v4
schedule:
interval: daily
allow:
- dependency-name: "cassandra"
update-types: [ "version-update:semver-minor" ]
update-types:
- minor
- patch
14 changes: 14 additions & 0 deletions .github/workflows/validate-dependabot-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: dependabot validate

on:
pull_request:
paths:
- '.github/dependabot.yml'
- '.github/workflows/validate-dependabot-config.yml'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: marocchino/validate-dependabot@v3
id: validate

0 comments on commit 6f2fe36

Please sign in to comment.