From 291f8bfe000f37e50b87f78e838554baee8bc9f9 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Wed, 18 Jan 2023 09:39:46 -0800 Subject: [PATCH] Slow dependency CI to weekly (#6764) * Add labels to updatecli PRs * Run weekly Signed-off-by: Derek Nola --- .github/dependabot.yml | 17 +++++++++++------ .github/workflows/updatecli.yaml | 2 +- updatecli/updatecli.d/golang-alpine.yaml | 3 +++ updatecli/updatecli.d/helm-controller.yaml | 2 ++ updatecli/updatecli.d/klipper.yaml | 2 ++ .../updatecli.d/local-path-provisioner.yaml | 2 ++ updatecli/updatecli.d/sonobuoy.yaml | 3 +++ 7 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index db24684d3ad..0741dda8211 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,32 +1,37 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "docker" directory: "/" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/conformance" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/tests/e2e/scripts" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/package" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/tests/integration" schedule: - interval: "daily" + interval: "weekly" - package-ecosystem: "docker" directory: "/tests/terraform" schedule: - interval: "daily" + interval: "weekly" diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml index 5446bd38f6c..b232f56ae53 100644 --- a/.github/workflows/updatecli.yaml +++ b/.github/workflows/updatecli.yaml @@ -3,7 +3,7 @@ name: "Updatecli: Dependency Management" on: schedule: # Runs at 06 PM UTC - - cron: '0 18 * * *' + - cron: '0 18 * * 0' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/updatecli/updatecli.d/golang-alpine.yaml b/updatecli/updatecli.d/golang-alpine.yaml index d62a6fe34fb..0206506cec0 100644 --- a/updatecli/updatecli.d/golang-alpine.yaml +++ b/updatecli/updatecli.d/golang-alpine.yaml @@ -21,6 +21,9 @@ actions: scmid: "k3s" spec: automerge: false + mergemethod: "squash" + labels: + - "dependencies" sources: # Find Alpine latest semver version in DockerHub diff --git a/updatecli/updatecli.d/helm-controller.yaml b/updatecli/updatecli.d/helm-controller.yaml index 12ec68e051a..fe4370f2805 100644 --- a/updatecli/updatecli.d/helm-controller.yaml +++ b/updatecli/updatecli.d/helm-controller.yaml @@ -23,6 +23,8 @@ actions: automerge: false mergemethod: "squash" usetitleforautomerge: true + labels: + - "dependencies" sources: helm-controller: diff --git a/updatecli/updatecli.d/klipper.yaml b/updatecli/updatecli.d/klipper.yaml index 915d77839e7..b40ad035626 100644 --- a/updatecli/updatecli.d/klipper.yaml +++ b/updatecli/updatecli.d/klipper.yaml @@ -43,6 +43,8 @@ actions: automerge: false mergemethod: "squash" usetitleforautomerge: true + labels: + - "dependencies" sources: klipper-helm: diff --git a/updatecli/updatecli.d/local-path-provisioner.yaml b/updatecli/updatecli.d/local-path-provisioner.yaml index 401c4726234..277020651fc 100644 --- a/updatecli/updatecli.d/local-path-provisioner.yaml +++ b/updatecli/updatecli.d/local-path-provisioner.yaml @@ -33,6 +33,8 @@ actions: automerge: false mergemethod: "squash" usetitleforautomerge: true + labels: + - "dependencies" sources: local-path-provisioner: diff --git a/updatecli/updatecli.d/sonobuoy.yaml b/updatecli/updatecli.d/sonobuoy.yaml index 51758d717eb..62f241ea5f4 100644 --- a/updatecli/updatecli.d/sonobuoy.yaml +++ b/updatecli/updatecli.d/sonobuoy.yaml @@ -19,6 +19,9 @@ actions: scmid: "k3s" spec: automerge: false + labels: + - "dependencies" + sources: sonobuoy: