ci: run wpt classic only on PR

This commit is contained in:
Pierre Tachoire
2025-03-28 13:45:28 +01:00
parent cf015b2ce7
commit c6ad734de0

View File

@@ -41,8 +41,8 @@ jobs:
wpt: wpt:
name: web platform tests name: web platform tests
# Don't run the CI with draft PR. # Only for PR without draft.
if: github.event.pull_request.draft == false if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
runs-on: ubuntu-latest runs-on: ubuntu-latest