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.