Skip to content

Commit ad5bb62

Browse files
authored
Merge pull request #29 from ALEEF02/Actions_Fix
Actions: Only run on modification or addition of DrawIO file
2 parents d6e94af + 9c48126 commit ad5bb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/createUML.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Check for DrawIO files
2727
run: |
28-
if [ -z "$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^UML/.*\.drawio$')" ]; then
28+
if [ -z "$(git diff --diff-filter=MA --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^UML/.*\.drawio$')" ]; then
2929
echo "No .drawio files found. Exiting with success."
3030
exit 0
3131
fi

0 commit comments

Comments
 (0)