Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed Jul 22, 2024
1 parent dff2d78 commit e29461d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ jobs:
- name: Echo files with missing newline
run: |
echo "Files with missing newline:"
git diff --name-only
git diff
- name: Check if working tree is dirty
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Working tree is dirty"
exit 1
else
echo "Working tree is clean"
fi
- name: Commit changes if any
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit e29461d

Please sign in to comment.