Skip to content

Commit

Permalink
fixup! ci: renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jun 15, 2024
1 parent e361e46 commit 5fa956f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
5 changes: 4 additions & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Renovate
on:
repository_dispatch:
types: [trigger-renovate]
types: [renovate]
schedule:
# Run every 30 minutes:
- cron: "0,30 * * * *"

permissions: {}

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/trigger_renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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]"
Expand Down

0 comments on commit 5fa956f

Please sign in to comment.