diff --git a/.github/workflows/liquidation-reconstitution.yml b/.github/workflows/liquidation-reconstitution.yml index 128fa9c6..00df897c 100644 --- a/.github/workflows/liquidation-reconstitution.yml +++ b/.github/workflows/liquidation-reconstitution.yml @@ -37,7 +37,6 @@ on: pull_request: types: - labeled - - unlabeled - synchronize concurrency: @@ -47,7 +46,7 @@ concurrency: jobs: run-e2e: if: >- - github.event_name != 'pull_request' || github.event_name == 'schedule' || + github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'liquidation-reconstitution-testing') uses: ./.github/workflows/reusable-workflow.yml @@ -56,7 +55,7 @@ jobs: docker compose -f test/e2e/docker-compose-reconstitution.yml \ --profile synpress up --build \ --exit-code-from synpress - is_emerynet_test: ${{ inputs.network == 'emerynet' }} + is_emerynet_test: ${{ inputs.network == 'emerynet' || contains(github.event.pull_request.labels.*.name, 'emerynet') }} user1_mnemonic: ${{ inputs.user1_mnemonic }} user1_address: ${{ inputs.user1_address }} bidder_mnemonic: ${{ inputs.bidder_mnemonic }} diff --git a/.github/workflows/liquidation.yml b/.github/workflows/liquidation.yml index b3162e21..8d2861b0 100644 --- a/.github/workflows/liquidation.yml +++ b/.github/workflows/liquidation.yml @@ -37,7 +37,6 @@ on: pull_request: types: - labeled - - unlabeled - synchronize concurrency: @@ -47,7 +46,7 @@ concurrency: jobs: run-e2e: if: >- - github.event_name != 'pull_request' || github.event_name == 'schedule' || + github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'liquidation-testing') uses: ./.github/workflows/reusable-workflow.yml @@ -56,7 +55,7 @@ jobs: docker compose -f test/e2e/docker-compose-liquidation.yml \ --profile synpress up --build \ --exit-code-from synpress - is_emerynet_test: ${{ inputs.network == 'emerynet' }} + is_emerynet_test: ${{ inputs.network == 'emerynet' || contains(github.event.pull_request.labels.*.name, 'emerynet') }} user1_mnemonic: ${{ inputs.user1_mnemonic }} user1_address: ${{ inputs.user1_address }} bidder_mnemonic: ${{ inputs.bidder_mnemonic }}