mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 10:18:13 +00:00
ci: Update GitHub Actions workflow to count diff lines
This commit is contained in:
1 parent
e5f96abdf9
commit
79adb71e53
1 file changed
+1
-1
@@ -40,7 +40,7 @@ jobs:
|
||||
id: changes
|
||||
run: |
|
||||
git status --porcelain > changes.diff
|
||||
echo "diff=$(cat changes.diff)" >> $GITHUB_OUTPUT
|
||||
echo "diff_count=$(cat changes.diff | wc -l)" >> $GITHUB_OUTPUT
|
||||
- name: Commit changes
|
||||
if: steps.changes.outputs.diff != ''
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
|
||||
Reference in new issue
Block a user