Skip to content

Commit d7fa23b

Browse files
authoredApr 4, 2023
Use git status instead of git diff for change calculation (#21)
1 parent ea0dc01 commit d7fa23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/sync-headers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo $COMMIT_MESSAGE
2828
npm run --silent write-symbols
2929
npm run --silent write-win32-def
30-
CHANGED_FILES=$(git diff --name-only)
30+
CHANGED_FILES=$(git status -s)
3131
BRANCH_NAME="update-headers/${VERSION}"
3232
if [ -z "$CHANGED_FILES" ]; then
3333
echo "No changes exist. Nothing to do."

0 commit comments

Comments
 (0)
Please sign in to comment.