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 1d910c1 commit cb94438
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,11 @@ jobs:
with:
fail_on_missing_newline: 'false'

- name: Echo files with missing newline
- name: Restore ignored files
run: |
echo "Files with missing newline:"
git diff
git status --porcelain
- name: Check if working tree is dirty
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Working tree is dirty"
else
echo "Working tree is clean"
fi
git checkout -- **/l10n-missing.txt
- name: Commit changes if any
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'lint: Apply final newline changes'
file_pattern: '.'
# disable_globbing: true

0 comments on commit cb94438

Please sign in to comment.