Skip to content

Commit 7659c3f

Browse files
committed
ci: Rework renovate workflow configuration
1 parent a41e26b commit 7659c3f

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/renovate.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,21 @@ jobs:
2525
owner: ${{ github.repository_owner }}
2626

2727
- name: Run Renovate
28-
env:
29-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
30-
run: |-
31-
gh workflow run --repo "${{ github.repository_owner }}/.github" renovate.yaml -F autodiscoverFilter="${{ github.event.repository.name }}"
28+
uses: codex-/return-dispatch@72a3b5d4ff36e4319a7b1ab5b686c778ee02fa37 # v2.1.0
29+
id: return_dispatch
30+
with:
31+
token: ${{ steps.app-token.outputs.token }}
32+
owner: ${{ github.repository_owner }}
33+
repo: .github
34+
ref: main
35+
workflow: renovate.yaml
36+
workflow_inputs: >-
37+
{ "autodiscoverFilter": "${{ github.event.repository.name }}" }
38+
39+
- name: Await Renovate completion
40+
uses: Codex-/await-remote-run@a56c556e6434d2d7ec9438dc656143b39532324e # v1.13.0
41+
with:
42+
token: ${{ steps.app-token.outputs.token }}
43+
owner: ${{ github.repository_owner }}
44+
repo: .github
45+
run_id: ${{ steps.return_dispatch.outputs.run_id }}

0 commit comments

Comments
 (0)