diff --git a/.github/workflows/cron-e2e.yml b/.github/workflows/cron-e2e.yml index 942ddbdf8e..41c441a2c6 100644 --- a/.github/workflows/cron-e2e.yml +++ b/.github/workflows/cron-e2e.yml @@ -70,4 +70,6 @@ jobs: run-e2e: name: run e2e uses: ./.github/workflows/pull-request.yml + with: + cron-run: true secrets: inherit diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5b53d5e1c1..1c6ad77b14 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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