diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 709a692..d116133 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -13,6 +13,10 @@ permissions: checks: write contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} + cancel-in-progress: true + jobs: run-linters: name: Run linters @@ -34,9 +38,9 @@ jobs: - name: Run linters uses: wearerequired/lint-action@v2 with: - eslint: false + continue_on_error: false prettier: true github_token: ${{ secrets.GITHUB_TOKEN }} - auto_fix: false + neutral_check_on_warning: true eslint_extensions: js commit_message: "style(auto): fix code style issues with ${linter}"