Skip to content

Commit

Permalink
Don't accept changes not made by humans
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Oct 29, 2023
1 parent 849726a commit 08aaf9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
run: composer update --optimize-autoloader --no-progress --ansi --no-interaction
- name: Build
run: ./bin/unipoints build
- name: Check built assets
if: ! startsWith(matrix.os, 'windows')
run: |
if ! git diff --exit-code --name-status; then
printf '\n\nPLEASE RUN\n\nbin/unipoints build\n'
exit 1
fi
- name: Check PHP coding style
if: startsWith(matrix.os, 'ubuntu') && matrix.php-version == '8.2'
run: composer run-script phpcs -- --ansi --no-interaction --dry-run --diff
Expand Down

0 comments on commit 08aaf9f

Please sign in to comment.