File tree 3 files changed +19
-3
lines changed
3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 15
15
ci_cloud :
16
16
type : string
17
17
default : LEAFCLOUD
18
+ branch :
19
+ type : string
20
+ default : " ${{ github.ref }}"
18
21
outputs :
19
22
openhpc-RL8-image :
20
23
description : " RL8 image"
51
54
openhpc-RL9-image : " ${{ steps.manifest.outputs.openhpc-RL9-image }}"
52
55
53
56
steps :
57
+
58
+ - name : Get current context
59
+ id : get_branch
60
+ run : |
61
+ if [[ ${{ github.event_name == 'workflow_dispatch' }} == true ]]; then
62
+ target_branch=${{ github.ref }}
63
+ else
64
+ target_branch=${{ github.event.inputs.branch }}
65
+ fi
66
+ echo "target_branch=$target_branch" >> "$GITHUB_OUTPUT"
67
+
54
68
- uses : actions/checkout@v2
69
+ with :
70
+ ref : ${{ steps.get_branch.outputs.target_branch }}
55
71
56
72
- name : Record settings for CI cloud
57
73
run : |
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- with : # temporary
16
- ref : feat/auto-bump-timestamps # temporary
17
15
18
16
- name : Check for updated Ark timestamps and replace in defaults.yml
19
17
run : |
45
43
if : " ${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
46
44
needs : upstream_check
47
45
uses : ./.github/workflows/fatimage.yml
46
+ with :
47
+ ci_cloud : LEAFCLOUD
48
48
49
49
ci_and_pr :
50
50
if : " ${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
Original file line number Diff line number Diff line change 18
18
{{ yaml_template | to_nice_yaml(indent=2) }}
19
19
vars :
20
20
yaml_template :
21
- appliances_repo_timestamps : " {{ _result.latest_dict }}"
21
+ appliances_pulp_repos : " {{ _result.latest_dict }}"
22
22
when : (_result.changed_timestamps | count) > 0
You can’t perform that action at this time.
0 commit comments