From 85381e13a4a513c821ca1b91469f024a70abbfbb Mon Sep 17 00:00:00 2001 From: Evo <85353424+EvolutionX-10@users.noreply.github.com> Date: Fri, 13 May 2022 11:43:53 +0530 Subject: [PATCH] ci: this shit is killing me --- .github/workflows/linter.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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}"