diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40d08e27..dfbc43b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,19 +6,20 @@ concurrency: on: pull_request: - branches: - - '**' - - '!master' - - '!dependabot/*/*/*/*/**' + branches-ignore: + - master jobs: code-quality-check: name: Check code quality uses: CropperBlazor/Cropper.Blazor/.github/workflows/build-test-template.yml@dev secrets: inherit + with: + publish-coverage: ${{ github.actor != 'dependabot[bot]' }} code-linting: name: Code linting + if: ${{ github.actor != 'dependabot[bot]' }} runs-on: ubuntu-latest needs: code-quality-check steps: diff --git a/.github/workflows/dependabot-ci.yml b/.github/workflows/dependabot-ci.yml deleted file mode 100644 index d018f1de..00000000 --- a/.github/workflows/dependabot-ci.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Build & Test - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -on: - push: - branches: - - dependabot/** - pull_request: - branches: - - dependabot/** - -jobs: - build-and-test: - name: Build & Test - uses: CropperBlazor/Cropper.Blazor/.github/workflows/build-test-template.yml@dev - with: - publish-coverage: false