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 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