Skip to content

Commit

Permalink
Ok, try porcelain status
Browse files Browse the repository at this point in the history
  • Loading branch information
hexmode committed Dec 10, 2023
1 parent 74bb0dd commit a0030f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Verify that the policy is met
run: |
./policy
git diff --name-only origin/${{ github.ref }}..HEAD
if [ $? -eq 0 ]; then
line="$(git status --porcelain | wc -l)"
if [ "$line" -gt 0 ]; then
echo "Does not meet policy"
exit 1
fi

0 comments on commit a0030f4

Please sign in to comment.