Skip to content

Commit 5ef0974

Browse files
committed
fixing xlf file path and condition logic
1 parent 6090ee1 commit 5ef0974

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr-checks.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ jobs:
148148
- name: Check for changes in english xlf files
149149
run: |
150150
cd pr
151-
if git diff --quiet --exit-code ./src/localization/xliff/vscode-mssql.xlf; then
152-
echo "Changes found in english xlf files"
153-
echo "loc_update_required=true" >> $GITHUB_ENV
154-
else
151+
if git diff --quiet --exit-code ./localization/xliff/vscode-mssql.xlf; then
155152
echo "Changes not found in english xlf files"
156153
echo "loc_update_required=false" >> $GITHUB_ENV
154+
else
155+
echo "Changes found in english xlf files"
156+
echo "loc_update_required=true" >> $GITHUB_ENV
157157
fi
158158
159159
- name: Find comment

0 commit comments

Comments
 (0)