Skip to content

Commit

Permalink
try to fix yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shacharPash committed Sep 27, 2023
1 parent fe9f0dd commit 3ebfead
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
run: |
dotnet format
- name: fail if files modified
- name: Check for modified files
run: |
git status|grep modified && exit 1
if (git status | Select-String -Pattern 'modified') {
Write-Host "Modified files found."
exit 1
} else {
Write-Host "No modified files found."
}

0 comments on commit 3ebfead

Please sign in to comment.