Skip to content

Commit

Permalink
fix: print out variables for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dg1223 committed Aug 5, 2023
1 parent b4c1a34 commit 0c9bd2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 0c9bd2b

Please sign in to comment.