We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d233d0c commit 74f827bCopy full SHA for 74f827b
.github/workflows/wrap.yml
@@ -40,8 +40,11 @@ jobs:
40
41
# Detect changed files
42
- name: Detect changed files
43
- run: echo "CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }})" >> $GITHUB_ENV
+ run: echo "CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }}) -- $(find . -name *.po)" >> $GITHUB_ENV
44
45
# Wrap changed files
46
- name: Wrap
47
- run: powrap ${CHANGED_FILES}
+ if: $(CHANGED_FILES)
48
+ run: powrap ${CHANGED_FILES}
49
+ if: ! $(CHANGED_FILES)
50
+ run: echo "No files changed"
0 commit comments