From e41e6393fc1bea59da4aa92d22da0c682540ce42 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 2 Sep 2024 04:11:46 -0700 Subject: [PATCH] ci: Only build Firefox for non-draft PRs (#2085) Save some trees --- .github/workflows/firefox.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/firefox.yml b/.github/workflows/firefox.yml index 224d1e3b20..ca57233aad 100644 --- a/.github/workflows/firefox.yml +++ b/.github/workflows/firefox.yml @@ -3,6 +3,7 @@ on: workflow_dispatch: pull_request: branches: ["main"] + types: [opened, synchronize, reopened, ready_for_review] paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] concurrency: @@ -18,6 +19,7 @@ env: jobs: firefox: name: Build Firefox + if: github.event.pull_request.draft == false strategy: fail-fast: false matrix: