ci: Update GitHub Actions workflow to count diff lines

This commit is contained in:
Jun Siang Cheah (aider) committed 2024-09-01 23:29:05 +01:00
1 parent e5f96abdf9
commit 79adb71e53
1 file changed
+1 -1
+1 -1
View File
@@ -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