diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index 552ec80d2f..833b5fb59c 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -33,6 +33,11 @@ jobs: - name: Install Composer dependencies run: composer install --no-interaction --no-progress --no-scripts + - name: Reset modules + run: | + git reset --hard + git clean -fd + - name: Run code quality checks (on push) if: github.event_name == 'push' run: ./.github/workflows/utilities/phpcs-push ${{ github.sha }}