Skip to content
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

AAE-18008 Fixup dependabot updates for actions inside subdir #365

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
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
22 changes: 17 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion update-dependabot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading