diff --git a/.github/workflows/liquidation-reconstitution.yml b/.github/workflows/liquidation-reconstitution.yml index 128fa9c6..f5338aef 100644 --- a/.github/workflows/liquidation-reconstitution.yml +++ b/.github/workflows/liquidation-reconstitution.yml @@ -47,7 +47,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 +56,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..eb364023 100644 --- a/.github/workflows/liquidation.yml +++ b/.github/workflows/liquidation.yml @@ -47,7 +47,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 +56,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 }}