File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7979env :
8080 MAVEN_ARGS : --batch-mode --show-version
8181 MAVEN_OPTS : -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
82- WITH_COVERAGE : true
82+ WITH_COVERAGE : ${{ github.event_name == 'push' }}
8383
8484jobs :
8585 check :
@@ -157,7 +157,6 @@ jobs:
157157 dev-support/checks/${{ inputs.script }}.sh ${{ inputs.script-args }}
158158 env :
159159 DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
160- WITH_COVERAGE : ${{ inputs.with-coverage }}
161160
162161 - name : Summary of failures
163162 if : ${{ failure() }}
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 - unit
107107 runs-on : ubuntu-24.04
108108 timeout-minutes : 30
109- if : (github.repository == 'apache/ratis' || github.repository == 'apache/incubator-ratis') && github.event_name != 'pull_request'
109+ if : github.event_name != 'pull_request'
110110 steps :
111111 - name : Checkout project
112112 uses : actions/checkout@v4
@@ -137,6 +137,7 @@ jobs:
137137 - name : Calculate combined coverage
138138 run : ./dev-support/checks/coverage.sh
139139 - name : Upload coverage to Sonar
140+ if : github.repository == 'apache/ratis'
140141 run : ./dev-support/checks/sonar.sh
141142 env :
142143 SONAR_TOKEN : ${{ secrets.SONARCLOUD_TOKEN }}
You can’t perform that action at this time.
0 commit comments