diff --git a/.github/workflows/bdd-integration-tests.yml b/.github/workflows/bdd-integration-tests.yml index 1e4f6c7016..aff5ca87b0 100644 --- a/.github/workflows/bdd-integration-tests.yml +++ b/.github/workflows/bdd-integration-tests.yml @@ -20,7 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - if: (github.repository == 'jamshale/aries-cloudagent-python') && (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request') + # Run on hyperledger and non-draft PRs or on non-PR events + if: (github.repository == 'jamshale/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) outputs: is_release: ${{ steps.check_if_release.outputs.is_release }} steps: diff --git a/.github/workflows/bdd-interop-tests.yml b/.github/workflows/bdd-interop-tests.yml index 60476afcca..b0b342b7df 100644 --- a/.github/workflows/bdd-interop-tests.yml +++ b/.github/workflows/bdd-interop-tests.yml @@ -20,7 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - if: (github.repository == 'jamshale/aries-cloudagent-python') && (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request') + # Run on hyperledger and non-draft PRs or on non-PR events + if: (github.repository == 'jamshale/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) outputs: is_release: ${{ steps.check_if_release.outputs.is_release }} steps: diff --git a/.github/workflows/scenario-integration-tests.yml b/.github/workflows/scenario-integration-tests.yml index dd5db7e3ac..86eefaedd6 100644 --- a/.github/workflows/scenario-integration-tests.yml +++ b/.github/workflows/scenario-integration-tests.yml @@ -20,7 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - if: (github.repository == 'jamshale/aries-cloudagent-python') && (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request') + # Run on hyperledger and non-draft PRs or on non-PR events + if: (github.repository == 'jamshale/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) steps: - name: checkout-acapy uses: actions/checkout@v4