mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
ci: Always run e2e tests on PR approval (no-changelog) (#5900)
ci: Always run e2e tests on PR approval
This commit is contained in:
1
.github/workflows/ci-pull-requests.yml
vendored
1
.github/workflows/ci-pull-requests.yml
vendored
@@ -111,7 +111,6 @@ jobs:
|
|||||||
smoke-test:
|
smoke-test:
|
||||||
name: E2E [Electron/Node 16]
|
name: E2E [Electron/Node 16]
|
||||||
uses: ./.github/workflows/e2e-reusable.yml
|
uses: ./.github/workflows/e2e-reusable.yml
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e') }}
|
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref }}
|
branch: ${{ github.event.pull_request.head.ref }}
|
||||||
user: ${{ github.event.inputs.user || 'PR User' }}
|
user: ${{ github.event.inputs.user || 'PR User' }}
|
||||||
|
|||||||
4
.github/workflows/e2e-tests-pr.yml
vendored
4
.github/workflows/e2e-tests-pr.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: PR E2E (skip with label skip-e2e)
|
name: PR E2E
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_review:
|
pull_request_review:
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
run-e2e-tests:
|
run-e2e-tests:
|
||||||
name: E2E [Electron/Node 16]
|
name: E2E [Electron/Node 16]
|
||||||
uses: ./.github/workflows/e2e-reusable.yml
|
uses: ./.github/workflows/e2e-reusable.yml
|
||||||
if: ${{ github.event.review.state == 'approved' && !contains(github.event.pull_request.labels.*.name, 'skip-e2e') }}
|
if: ${{ github.event.review.state == 'approved' }}
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref }}
|
branch: ${{ github.event.pull_request.head.ref }}
|
||||||
user: ${{ github.event.pull_request.user.login || 'PR User' }}
|
user: ${{ github.event.pull_request.user.login || 'PR User' }}
|
||||||
|
|||||||
1
.github/workflows/e2e-tests.yml
vendored
1
.github/workflows/e2e-tests.yml
vendored
@@ -42,7 +42,6 @@ jobs:
|
|||||||
run-e2e-tests:
|
run-e2e-tests:
|
||||||
name: E2E [Electron/Node 16]
|
name: E2E [Electron/Node 16]
|
||||||
uses: ./.github/workflows/e2e-reusable.yml
|
uses: ./.github/workflows/e2e-reusable.yml
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e') }}
|
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.inputs.branch || 'master' }}
|
branch: ${{ github.event.inputs.branch || 'master' }}
|
||||||
user: ${{ github.event.inputs.user || 'PR User' }}
|
user: ${{ github.event.inputs.user || 'PR User' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user