From c58a8c1425a8d07f39ca4118e51a42f5894fa928 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Wed, 1 Sep 2021 09:05:05 +0200 Subject: [PATCH] fix skip-duplicate-actions as suggested by https://github.com/nvuillam/mega-linter/issues/622 --- .github/workflows/mega-linter.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 75e684f..8549cb3 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -15,13 +15,14 @@ jobs: name: Cancel duplicate jobs runs-on: ubuntu-18.04 steps: - - + - # Cancellation of previous workflow runs uses: fkirc/skip-duplicate-actions@master with: - github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} + cancel_others: true - build: - name: Mega-Linter + lint_files: + name: Lint files runs-on: ubuntu-18.04 steps: - # Git Checkout