Skip to content

Commit 7e6a3a3

Browse files
committed
chore: even more different workflow dispatcher
1 parent d1a3193 commit 7e6a3a3

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

Diff for: .github/workflows/upgrade-services.yaml

+4-14
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,15 @@ jobs:
5353
git commit -m "chore: automated service version bump"
5454
git push -u origin master
5555
56-
- name: Dispatch an action and get the run ID
56+
- uses: convictional/trigger-workflow-and[email protected]
5757
if: ${{ steps.diff.outputs.changes == '1' }}
58-
uses: codex-/return-dispatch@v1
59-
id: dispatcher
6058
with:
61-
token: ${{ github.token }}
6259
owner: restorecommerce
6360
repo: charts
64-
workflow: release.yaml
61+
github_token: ${{ github.token }}
62+
workflow_file_name: release.yaml
6563
ref: master
66-
67-
- name: Await Run ID ${{ steps.dispatcher.outputs.run_id }}
68-
if: ${{ steps.diff.outputs.changes == '1' }}
69-
uses: Codex-/[email protected]
70-
with:
71-
token: ${{ github.token }}
72-
owner: restorecommerce
73-
repo: charts
74-
run_id: ${{ steps.dispatcher.outputs.run_id }}
64+
propagate_failure: true
7565

7666
- uses: benc-uk/workflow-dispatch@v1
7767
if: ${{ steps.diff.outputs.changes == '1' }}

0 commit comments

Comments
 (0)