45
45
stackhpc : ${{ toJson(fromJson(steps.filter_on_every.outputs.stackhpc) || fromJson(steps.filter_on_some.outputs.stackhpc)) }}
46
46
extra_on_push : ${{ steps.filter_on_some.outputs.extra_on_push }}
47
47
extra_on_pull_request : ${{ steps.filter_on_some.outputs.extra_on_pull_request }}
48
- trivvyscan : ${{ steps.filter_on_some.outputs.trivvyscan }}
48
+ trivyscan : ${{ steps.filter_on_some.outputs.trivyscan }}
49
49
steps :
50
50
- name : Checkout
51
51
uses : actions/checkout@v4
@@ -109,7 +109,7 @@ jobs:
109
109
- 'ansible/roles/cuda/**'
110
110
- 'ansible/roles/lustre/**'
111
111
- '.github/workflows/extra.yml'
112
- trivvyscan :
112
+ trivyscan :
113
113
- 'environments/.stackhpc/tofu/cluster_image.auto.tfvars.json'
114
114
115
115
- name : Paths matched output
@@ -120,7 +120,7 @@ jobs:
120
120
echo '{ "stackhpc_some_files": ${{ steps.filter_on_some.outputs.stackhpc_files }} }' | jq -r '.';
121
121
echo '{ "extra_on_push_files": ${{ steps.filter_on_some.outputs.extra_on_push_files }} }' | jq -r '.';
122
122
echo '{ "extra_on_pull_request_files": ${{ steps.filter_on_some.outputs.extra_on_pull_request_files }} }' | jq -r '.';
123
- echo '{ "trivvyscan_files ": ${{ steps.filter_on_some.outputs.trivvyscan_files }} }' | jq -r '.'
123
+ echo '{ "trivyscan_files ": ${{ steps.filter_on_some.outputs.trivyscan_files }} }' | jq -r '.'
124
124
125
125
stackhpc :
126
126
name : Test deployment and reimage on OpenStack
@@ -139,11 +139,11 @@ jobs:
139
139
uses : ./.github/workflows/extra.yml
140
140
secrets : inherit
141
141
142
- trivvyscan :
142
+ trivyscan :
143
143
name : Trivy scan image for vulnerabilities
144
144
needs : files_changed
145
145
if : |
146
146
github.event_name == 'pull_request' &&
147
- needs.files_changed.outputs.trivvyscan == 'true'
148
- uses : ./.github/workflows/trivvyscan .yml
147
+ needs.files_changed.outputs.trivyscan == 'true'
148
+ uses : ./.github/workflows/trivyscan .yml
149
149
secrets : inherit
0 commit comments