Skip to content

Commit 726fcff

Browse files
committed
fix: sync files don't detect changed files correctly
1 parent fab4907 commit 726fcff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-files.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
id: updates
4545
working-directory: target
4646
run: |
47-
if output=$(git status --porcelain) && [ -z "$output" ]; then
47+
if output=$(git status --porcelain) && [ -n "$output" ]; then
4848
echo "updated=true" >> "$GITHUB_OUTPUT"
4949
else
5050
echo "updated=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)