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:
|
||||
if: ${{ always() }}
|
||||
# if: success() || failure()
|
||||
runs-on: ubuntu-latest
|
||||
name: Final Results
|
||||
needs: [check-if-pr-is-approved, check-package-lock, build-libs, e2e, e2e-storybook]
|
||||
steps:
|
||||
- run: exit 1
|
||||
if: >-
|
||||
${{
|
||||
contains(needs.*.result, 'failure')
|
||||
|| contains(needs.*.result, 'cancelled')
|
||||
}}
|
||||
if: ${{ contains(needs.*.result, 'failure') }}
|
||||
- run: exit 1
|
||||
if: ${{ contains(needs.*.result, 'cancelled') }}
|
||||
|
Reference in New Issue
Block a user