diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 620018e91..4f10a0926 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -28,7 +28,19 @@ updates: schedule: interval: "weekly" - package-ecosystem: "github-actions" - directory: "/.github/actions/dbp-charts" + directory: "/.github/actions/dbp-charts/kubernetes-valid-ns" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/.github/actions/dbp-charts/publish-chart" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/.github/actions/dbp-charts/verify-compose" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/.github/actions/dbp-charts/verify-helm" schedule: interval: "weekly" - package-ecosystem: "github-actions" @@ -156,11 +168,11 @@ updates: schedule: interval: "weekly" - package-ecosystem: "github-actions" - directory: "/.github/actions/pre-commit" + directory: "/.github/actions/pre-commit-default" schedule: interval: "weekly" - package-ecosystem: "github-actions" - directory: "/.github/actions/pre-commit-default" + directory: "/.github/actions/pre-commit" schedule: interval: "weekly" - package-ecosystem: "github-actions" @@ -184,11 +196,11 @@ updates: schedule: interval: "weekly" - package-ecosystem: "github-actions" - directory: "/.github/actions/send-slack-notification" + directory: "/.github/actions/send-slack-notification-slow-job" schedule: interval: "weekly" - package-ecosystem: "github-actions" - directory: "/.github/actions/send-slack-notification-slow-job" + directory: "/.github/actions/send-slack-notification" schedule: interval: "weekly" - package-ecosystem: "github-actions" diff --git a/update-dependabot.sh b/update-dependabot.sh index 3519ba06a..0f7eb2070 100755 --- a/update-dependabot.sh +++ b/update-dependabot.sh @@ -32,7 +32,8 @@ echo "version: 2" > "$temp_config" echo "updates:" >> "$temp_config" # Loop through composite actions and append to temp config -for action_dir in $(find "$actions_dir" -mindepth 1 -maxdepth 1 -type d | sort -n); do +for action_filename in $(find "$actions_dir" -mindepth 2 -type f -name action.yml | sort -n); do + action_dir=$(dirname $action_filename) generate_dependabot_section "$action_dir" >> "$temp_config" done