mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-5546] Don't run forbidden labels job when cron runs e2es (#8632)
* [ADF-5546] Don't run forbidden labels job when cron runs e2es * [ADF-5546] Correct wording * [ADF-5546] Fix forbidden labels job condition
This commit is contained in:
parent
826cdf52b9
commit
a612263762
2
.github/workflows/cron-e2e.yml
vendored
2
.github/workflows/cron-e2e.yml
vendored
@ -70,4 +70,6 @@ jobs:
|
||||
run-e2e:
|
||||
name: run e2e
|
||||
uses: ./.github/workflows/pull-request.yml
|
||||
with:
|
||||
cron-run: true
|
||||
secrets: inherit
|
||||
|
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
@ -13,6 +13,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: false
|
||||
cron-run:
|
||||
description: 'disables jobs which should not run when cron runs e2es'
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
@ -450,6 +455,7 @@ jobs:
|
||||
deps: ${{ matrix.e2e-test.deps }}
|
||||
|
||||
PR-forbidden-labels:
|
||||
if: ${{ github.event.inputs.cron-run == '' || github.event.inputs.cron-run == 'false' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: checkoutRepo
|
||||
|
Loading…
x
Reference in New Issue
Block a user