File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 4646 env :
4747 ANSIBLE_FORCE_COLOR : True
4848 OS_CLOUD : openstack
49- CI_CLOUD : ${{ github.event_name == 'workflow_dispatch' && github. event.inputs.ci_cloud || inputs.ci_cloud_override }}
49+ CI_CLOUD : ${{ github.event.inputs.ci_cloud || inputs.ci_cloud_override }}
5050 ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
5151 LEAFCLOUD_PULP_PASSWORD : ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
5252 outputs :
6161
6262 - uses : actions/checkout@v3
6363 with :
64- ref : ${{ steps.callee_check.outputs.is_callee && inputs.target_branch || github.ref }}
64+ ref : ${{ steps.callee_check.outputs.is_callee == 'true' && inputs.target_branch || github.ref }}
6565
6666 - name : Record settings for CI cloud
6767 run : |
Original file line number Diff line number Diff line change 5656
5757 - uses : actions/checkout@v3
5858 with :
59- ref : ${{ steps.callee_check.outputs.is_callee && inputs.target_branch || github.ref }}
59+ ref : ${{ steps.callee_check.outputs.is_callee == 'true' && inputs.target_branch || github.ref }}
6060
6161 - name : Override CI_CLOUD if PR label is present
6262 if : ${{ github.event_name == 'pull_request' }}
Original file line number Diff line number Diff line change 11name : Check for new Release Train snapshots
22on :
3- workflow_dispatch : # temporary, doesn't support workflow_dispatch due to issues with CI_CLOUD in fatimage
3+ workflow_dispatch : # temporary
44 pull_request : # temporary
55 schedule :
66 - cron : ' 0 7 * * *' # Run at 7am on default branch
1313 steps :
1414 - uses : actions/checkout@v2
1515
16+ - uses : stackhpc/ansible-slurm-appliance/.github/actions/is_callee@feat/auto-bump-timestamps # todo: change to main once merges
17+ id : callee_check
18+ with :
19+ current_workflow_file : stackhpc.yml
20+
21+ - name : test
22+ run : echo ${{ steps.callee_check.outputs.is_callee }}
23+
24+ - uses : actions/checkout@v3
25+ with :
26+ ref : ${{ steps.callee_check.outputs.is_callee == 'true' && 'works' }}
27+
1628 - name : Check automation branch exists
1729 id : auto-branch-check
1830 run : |
You can’t perform that action at this time.
0 commit comments