Skip to content

Commit ad9ba4e

Browse files
authored
chore(ci): Trigger renovate after SDK release (#266)
This is a small optimization to how we do SDK updates in the monorepo. At the moment renovate runs every 15 minutes to handle dependencies updates. We run it every 15 minutes to ensure speedy updates to the SDK. With this PR we'll run it immediately after the SDK has been released. This should also allow us to save some build minuted by reducing the renovate schedule to 1 hour for example ---
1 parent 1ee7829 commit ad9ba4e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release-pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ jobs:
3131
TAG_NAME: ${{ steps.release.outputs.tag_name }}
3232
with:
3333
prerelease: true
34+
- name: Trigger Renovate
35+
uses: actions/github-script@v6
36+
if: steps.release.outputs.release_created && steps.semver_parser.outputs.prerelease == ''
37+
with:
38+
github-token: ${{ secrets.GH_CQ_BOT }}
39+
script: |
40+
github.rest.actions.createWorkflowDispatch({
41+
owner: 'cloudquery',
42+
repo: '.github',
43+
workflow_id: 'renovate.yml',
44+
ref: 'main',
45+
})

0 commit comments

Comments
 (0)