ci: Always run e2e tests on PR approval (no-changelog) (#5900)

ci: Always run e2e tests on PR approval
This commit is contained in:
OlegIvaniv 2023-04-04 12:29:52 +02:00 committed by GitHub
parent a260c05fa8
commit 5ff3dea7bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -111,7 +111,6 @@ jobs:
smoke-test:
name: E2E [Electron/Node 16]
uses: ./.github/workflows/e2e-reusable.yml
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e') }}
with:
branch: ${{ github.event.pull_request.head.ref }}
user: ${{ github.event.inputs.user || 'PR User' }}

View file

@ -1,4 +1,4 @@
name: PR E2E (skip with label skip-e2e)
name: PR E2E
on:
pull_request_review:
@ -24,7 +24,7 @@ jobs:
run-e2e-tests:
name: E2E [Electron/Node 16]
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:
branch: ${{ github.event.pull_request.head.ref }}
user: ${{ github.event.pull_request.user.login || 'PR User' }}

View file

@ -42,7 +42,6 @@ jobs:
run-e2e-tests:
name: E2E [Electron/Node 16]
uses: ./.github/workflows/e2e-reusable.yml
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e') }}
with:
branch: ${{ github.event.inputs.branch || 'master' }}
user: ${{ github.event.inputs.user || 'PR User' }}