File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ run-name: Build Loop (${{ github.ref_name }})
33on :
44 workflow_dispatch :
55 inputs :
6- is_scheduled :
6+ dispatched_by_trigger :
77 description : ' Whether this was dispatched from the trigger scheduled workflow'
88 required : false
99 type : boolean
@@ -159,7 +159,7 @@ jobs:
159159 uses : ./.github/workflows/create_certs.yml
160160 secrets : inherit
161161 if : |
162- (github.event_name == 'workflow_dispatch' && github.event.inputs.is_scheduled != 'true') ||
162+ (github.event_name == 'workflow_dispatch' && github.event.inputs.dispatched_by_trigger != 'true') ||
163163 (vars.SCHEDULED_BUILD != 'false' && needs.check_status.outputs.IS_SECOND_IN_MONTH == 'true') ||
164164 (vars.SCHEDULED_SYNC != 'false' && needs.check_status.outputs.NEW_COMMITS == 'true' )
165165
@@ -172,7 +172,7 @@ jobs:
172172 contents : write
173173 if :
174174 | # builds with manual start; if scheduled: once a month or when new commits are found
175- (github.event_name == 'workflow_dispatch' && github.event.inputs.is_scheduled != 'true') ||
175+ (github.event_name == 'workflow_dispatch' && github.event.inputs.dispatched_by_trigger != 'true') ||
176176 (vars.SCHEDULED_BUILD != 'false' && needs.check_status.outputs.IS_SECOND_IN_MONTH == 'true') ||
177177 (vars.SCHEDULED_SYNC != 'false' && needs.check_status.outputs.NEW_COMMITS == 'true' )
178178 steps :
Original file line number Diff line number Diff line change 2222 -H "Authorization: Bearer ${GH_PAT}" \
2323 -H "Accept: application/vnd.github+json" \
2424 https://api.github.com/repos/${{ github.repository }}/actions/workflows/build_loop.yml/dispatches \
25- -d '{"ref":"${{ github.ref_name }}", "inputs": {"is_scheduled ": "true"}}'
25+ -d '{"ref":"${{ github.ref_name }}", "inputs": {"dispatched_by_trigger ": "true"}}'
You can’t perform that action at this time.
0 commit comments