mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 10:18:13 +00:00
fix: use git status --porcelain to capture changes in a predictable format
This commit is contained in:
1 parent
d6ef1d414d
commit
e5f96abdf9
1 file changed
+1
-1
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Check for changes
|
||||
id: changes
|
||||
run: |
|
||||
git diff > changes.diff
|
||||
git status --porcelain > changes.diff
|
||||
echo "diff=$(cat changes.diff)" >> $GITHUB_OUTPUT
|
||||
- name: Commit changes
|
||||
if: steps.changes.outputs.diff != ''
|
||||
|
||||
Reference in new issue
Block a user