From c16cf40a3788e81135e4d879de31ddcfc9e13a4d Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Wed, 15 Nov 2023 11:38:13 +0100 Subject: [PATCH 1/2] Revert "HDDS-9682. Skip coverage check for dependabot (#5599)" This reverts commit de193610737cab30bb1eb40745035f8a28261dce. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d225d75d4367..617d1c9e3dfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ on: env: FAIL_FAST: ${{ github.event_name == 'pull_request' }} MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 - OZONE_WITH_COVERAGE: ${{ github.repository == 'apache/ozone' && github.event_name != 'pull_request' && !startsWith(github.ref_name, 'dependabot') }} + OZONE_WITH_COVERAGE: ${{ github.repository == 'apache/ozone' && github.event_name != 'pull_request' }} jobs: build-info: runs-on: ubuntu-20.04 @@ -474,7 +474,7 @@ jobs: coverage: runs-on: ubuntu-20.04 timeout-minutes: 30 - if: github.repository == 'apache/ozone' && github.event_name != 'pull_request' && !startsWith(github.ref_name, 'dependabot') + if: github.repository == 'apache/ozone' && github.event_name != 'pull_request' needs: - unit - acceptance From 28be420d6d6c1ef2f6f343e3bb0f45e8ef60acd7 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Wed, 15 Nov 2023 11:38:35 +0100 Subject: [PATCH 2/2] HDDS-9698. Skip push build for dependabot --- .github/workflows/post-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index c1678f12c8e4..91d9e1fcd9fe 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -22,5 +22,6 @@ concurrency: cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: CI: + if: github.event_name == 'pull_request' || !startsWith(github.ref_name, 'dependabot') uses: ./.github/workflows/ci.yml secrets: inherit