mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-4666] Make finalize fail if any previous check fails (#3024)
This commit is contained in:
9
.github/workflows/pull-request.yml
vendored
9
.github/workflows/pull-request.yml
vendored
@@ -208,6 +208,7 @@ jobs:
|
|||||||
aws-region: ${{ env.AWS_REGION }}
|
aws-region: ${{ env.AWS_REGION }}
|
||||||
|
|
||||||
finalize:
|
finalize:
|
||||||
|
if: ${{ always() }}
|
||||||
needs: [lint, build, unit-tests, e2es, e2es-playwright]
|
needs: [lint, build, unit-tests, e2es, e2es-playwright]
|
||||||
name: 'Finalize'
|
name: 'Finalize'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -218,6 +219,14 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0
|
||||||
|
|
||||||
|
- name: Check previous jobs status
|
||||||
|
if: >-
|
||||||
|
${{
|
||||||
|
contains(needs.*.result, 'failure')
|
||||||
|
|| contains(needs.*.result, 'cancelled')
|
||||||
|
}}
|
||||||
|
run: exit 1
|
||||||
|
|
||||||
- name: Check ADF link
|
- name: Check ADF link
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user