From 5fa956f86a8fc3367adbec9e36ee932fea8a1ede Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 15 Jun 2024 23:19:29 +0900 Subject: [PATCH] fixup! ci: renovate --- .github/workflows/_renovate.yml | 2 +- .github/workflows/renovate.yml | 5 ++++- .github/workflows/trigger_renovate.yml | 5 +---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_renovate.yml b/.github/workflows/_renovate.yml index 123a12eef..0c8cbe2f7 100644 --- a/.github/workflows/_renovate.yml +++ b/.github/workflows/_renovate.yml @@ -72,4 +72,4 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/$RENOVATE_REPO/dispatches \ - -f "event_type=trigger-renovate" -F "client_payload[repoCache]=$CACHE" + -f "event_type=renovate" -F "client_payload[repoCache]=$CACHE" diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 6550a2da0..467190593 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,7 +1,10 @@ name: Renovate on: repository_dispatch: - types: [trigger-renovate] + types: [renovate] + schedule: + # Run every 30 minutes: + - cron: "0,30 * * * *" permissions: {} diff --git a/.github/workflows/trigger_renovate.yml b/.github/workflows/trigger_renovate.yml index 9badd0856..b9f4e03dc 100644 --- a/.github/workflows/trigger_renovate.yml +++ b/.github/workflows/trigger_renovate.yml @@ -21,9 +21,6 @@ on: - "main" # https://docs.renovatebot.com/config-validation/#validation-of-renovate-config-change-prs - "renovate/reconfigure" - schedule: - # Run every 30 minutes: - - cron: "0,30 * * * *" # This lets you dispatch a renovate job with different cache options if you want to reset or disable the cache manually. workflow_dispatch: inputs: @@ -39,7 +36,7 @@ on: permissions: {} jobs: - trigger-renovate: + renovate: uses: 4m-mazi/gh-test/.github/workflows/_renovate.yml@main with: renovate_actor: "mazi-renovate[bot]"