diff --git a/.github/workflows/ci-cd-develop.yml b/.github/workflows/ci-cd-develop.yml index 90e918b..8c0da68 100644 --- a/.github/workflows/ci-cd-develop.yml +++ b/.github/workflows/ci-cd-develop.yml @@ -27,9 +27,11 @@ jobs: # Define the regular expression pattern for allowed file types SKIP_FILE_TYPES="^(README\.md|.*\.yml|.*\.txt|\.gitattributes|\.gitignore|.*\.gradle)$" + echo ${SKIP_FILE_TYPES} # Check if there are any changed files that are not allowed VALID_CHANGES=$(echo "${CHANGED_FILES}" | grep -Ev "${SKIP_FILE_TYPES}") + echo ${VALID_CHANGES} if [ -n "${VALID_CHANGES}" ]; then echo "Changes to files other than README.md, *.yml, .txt, .gitattributes, .gitignore, or .gradle detected. Proceeding with the CI/CD workflow."