File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -53,21 +53,28 @@ jobs:
53
53
git commit -m "chore: automated service version bump"
54
54
git push -u origin master
55
55
56
- - uses : benc-uk/workflow-dispatch@v1
56
+ - name : Dispatch an action and get the run ID
57
+ if : ${{ steps.diff.outputs.changes == '1' }}
58
+ uses : codex-/return-dispatch@v1
57
59
id : dispatcher
58
60
with :
61
+ token : ${{ github.token }}
62
+ owner : restorecommerce
63
+ repo : charts
59
64
workflow : release.yaml
60
65
ref : master
61
66
62
- - name : Await Run ID ${{ steps.dispatcher.outputs.workflowId }}
67
+ - name : Await Run ID ${{ steps.dispatcher.outputs.run_id }}
68
+ if : ${{ steps.diff.outputs.changes == '1' }}
63
69
64
70
with :
65
71
token : ${{ github.token }}
66
72
owner : restorecommerce
67
73
repo : charts
68
- run_id : ${{ steps.dispatcher.outputs.workflowId }}
74
+ run_id : ${{ steps.dispatcher.outputs.run_id }}
69
75
70
76
- uses : benc-uk/workflow-dispatch@v1
77
+ if : ${{ steps.diff.outputs.changes == '1' }}
71
78
with :
72
79
workflow : upgrade-system.yaml
73
80
ref : master
Original file line number Diff line number Diff line change 54
54
git push -u origin master
55
55
56
56
- uses : benc-uk/workflow-dispatch@v1
57
+ if : ${{ steps.diff.outputs.changes == '1' }}
57
58
with :
58
59
workflow : release.yaml
59
60
ref : master
You can’t perform that action at this time.
0 commit comments