From 5d1e85073a8488bbc057da08b493e5662a49f776 Mon Sep 17 00:00:00 2001 From: tefirman Date: Thu, 18 Apr 2024 16:42:35 -0600 Subject: [PATCH] Adding if statement to modified test yml --- .github/workflows/modified-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/modified-test.yml b/.github/workflows/modified-test.yml index 4c3fdcf..75f1569 100644 --- a/.github/workflows/modified-test.yml +++ b/.github/workflows/modified-test.yml @@ -13,7 +13,7 @@ jobs: uses: jitterbit/get-changed-files@v1 - run: | for changed_file in ${{ steps.files.outputs.added_modified }}; do - if [[ $changed_file =~ *Dockerfile_* ]]; then + if [[ $changed_file == *"Dockerfile_"* ]]; then echo "Do something with this ${changed_file}." fi done