Skip to content

Commit

Permalink
Fix the Github event name ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Mar 12, 2024
1 parent 79e5e7c commit 06c0e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06c0e8c

Please sign in to comment.