diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86d6f7e..a48e48c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: test: name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} runs-on: ubuntu-latest - if: contains(github.event.pull_request.labels.*.name, 'safe to test') || (("${GITHUB_EVENT_NAME}" == "push" || "${GITHUB_EVENT_NAME}" == "workflow_dispatch") && github.ref_name == "main") + if: contains(github.event.pull_request.labels.*.name, 'safe to test') || ((github.event_name == "push" || github.event_name == "workflow_dispatch") && github.ref_name == "main") strategy: max-parallel: 1