Skip to content

Commit

Permalink
Adding if statement to modified test yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tefirman committed Apr 18, 2024
1 parent c40043a commit 5d1e850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/modified-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5d1e850

Please sign in to comment.