From 6994c2d641a20acd975c5e602eca14efb9d34c27 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 4 Sep 2024 16:14:55 -0400 Subject: [PATCH] ci(lint): sync workflow with current standard --- .github/workflows/lint.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b49df72..c81da42 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,24 +3,24 @@ name: Lint on: push: branches: - - '**' + - "**" + - "!**dependabot/**" + - "!**release-please--**" pull_request: branches: - - '**' + - "**" + - "!**dependabot/**" + - "!**release-please--**" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: name: Lint runs-on: ubuntu-latest - strategy: - matrix: - php-versions: ['8.2', '8.1', '8.0', '7.4'] - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ github.token }} - + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.