diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 8c0a47ac5..f529faeae 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -1536,7 +1536,7 @@ jobs: # include templates in the matrix only if modified for template in ${template_files}; do if ! git diff --name-only '${{ github.base_ref }}' \ - | grep -Eq "^${template}$|^.github/workflows/"; then + | grep -Eq "^${template}$"; then unmodified_stack="$(echo "${stacks}" \ | jq -r --arg tmpl "${template}" 'select(.template==$tmpl).name')" stack_names="$(echo "${stack_names}" \ diff --git a/flowzone.yml b/flowzone.yml index 42d45a53a..f4e36e4dd 100644 --- a/flowzone.yml +++ b/flowzone.yml @@ -1902,7 +1902,7 @@ jobs: # include templates in the matrix only if modified for template in ${template_files}; do if ! git diff --name-only '${{ github.base_ref }}' \ - | grep -Eq "^${template}$|^.github/workflows/"; then + | grep -Eq "^${template}$"; then unmodified_stack="$(echo "${stacks}" \ | jq -r --arg tmpl "${template}" 'select(.template==$tmpl).name')" stack_names="$(echo "${stack_names}" \