diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49f84fd8..19d3b2d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: run: echo "This job has been approved!" build: name: Build + if: always() && (needs.requires-approval.result == 'success' || needs.requires-approval.result == 'skipped') needs: requires-approval runs-on: ubuntu-latest strategy: @@ -60,6 +61,7 @@ jobs: integration-tests: name: Integration Tests (Java ${{ matrix.java-version }}) + if: always() && (needs.requires-approval.result == 'success' || needs.requires-approval.result == 'skipped') runs-on: ubuntu-latest needs: build strategy: @@ -76,6 +78,7 @@ jobs: sonarqube-scan: name: SonarQube Scan + if: always() && (needs.requires-approval.result == 'success' || needs.requires-approval.result == 'skipped') runs-on: ubuntu-latest needs: build steps: @@ -91,6 +94,7 @@ jobs: scan: name: Blackduck Scan + if: always() && (needs.requires-approval.result == 'success' || needs.requires-approval.result == 'skipped') runs-on: ubuntu-latest needs: build timeout-minutes: 15 @@ -107,6 +111,7 @@ jobs: deploy-snapshot: name: Deploy snapshot to Artifactory + if: always() && (needs.requires-approval.result == 'success' || needs.requires-approval.result == 'skipped') runs-on: ubuntu-latest needs: build steps: @@ -155,4 +160,4 @@ jobs: env: DEPLOYMENT_USER: ${{ env.DEPLOYMENT_USER }} DEPLOYMENT_PASS: ${{ env.DEPLOYMENT_PASS }} - shell: bash + shell: bash \ No newline at end of file