From 3c19982040f6337637645b8c843cfbe4fd16601b Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 13 Aug 2024 17:39:35 +0200 Subject: [PATCH] ci: Only export WPT test changes on the `main` branch (#33033) This ensures that the WPT export job only runs on chnages that target the `main` branch. This makes it so changes to WPT tests in temporary branches aren't upstreamed. Signed-off-by: Martin Robinson --- .github/workflows/pull-request-wpt-export.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request-wpt-export.yml b/.github/workflows/pull-request-wpt-export.yml index dd1749303ef..2942fe9f2cd 100644 --- a/.github/workflows/pull-request-wpt-export.yml +++ b/.github/workflows/pull-request-wpt-export.yml @@ -2,6 +2,7 @@ name: WPT Export on: pull_request_target: types: ['opened', 'synchronize', 'reopened', 'edited', 'closed'] + branches: ['main'] jobs: upstream: