Skip to content

Commit 45e211e

Browse files
sjpbbertiethorpe
andauthored
Apply fixes to CI cleanup workflow from code review
Co-authored-by: bertiethorpe <[email protected]>
1 parent 78ded79 commit 45e211e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly-cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
ci_cleanup:
1818
name: ci-cleanup
19-
concurrency: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.cloud }}-${{ matrix.build }}
19+
concurrency: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.cloud }}
2020
strategy:
2121
fail-fast: false
2222
matrix:
@@ -62,7 +62,7 @@ jobs:
6262
for cluster_prefix in ${CI_CLUSTERS}
6363
do
6464
TAGS=$(openstack server show ${cluster_prefix}-control --column tags --format value)
65-
if [[ TAGS =~ "keep" ]]; then
65+
if [[ $TAGS =~ "keep" ]]; then
6666
echo "Skipping ${cluster_prefix} - control instance is tagged as keep"
6767
else
6868
yes | ./dev/delete-cluster.py ${cluster_prefix}

0 commit comments

Comments
 (0)