mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
HXOR-164 pr check job: condition handling
This commit is contained in:
26
.github/workflows/devel.yml
vendored
Normal file
26
.github/workflows/devel.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: pr-workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
dry-run-release:
|
||||||
|
description: 'enable dry-run'
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
devel:
|
||||||
|
description: 'enable pipeline devel'
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "HXP-164*"
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
general-build:
|
||||||
|
uses: ./.github/workflows/pull-request.yml
|
||||||
|
secrets: inherit
|
||||||
|
with:
|
||||||
|
dry-run-release: true
|
9
.github/workflows/pull-request.yml
vendored
9
.github/workflows/pull-request.yml
vendored
@@ -398,13 +398,12 @@ jobs:
|
|||||||
|
|
||||||
results:
|
results:
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
# if: success() || failure()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Final Results
|
name: Final Results
|
||||||
needs: [check-if-pr-is-approved, check-package-lock, build-libs, e2e, e2e-storybook]
|
needs: [check-if-pr-is-approved, check-package-lock, build-libs, e2e, e2e-storybook]
|
||||||
steps:
|
steps:
|
||||||
- run: exit 1
|
- run: exit 1
|
||||||
if: >-
|
if: ${{ contains(needs.*.result, 'failure') }}
|
||||||
${{
|
- run: exit 1
|
||||||
contains(needs.*.result, 'failure')
|
if: ${{ contains(needs.*.result, 'cancelled') }}
|
||||||
|| contains(needs.*.result, 'cancelled')
|
|
||||||
}}
|
|
||||||
|
Reference in New Issue
Block a user