From 4be8384a76e20c6d7d9c532bb53c459b8a4cdca8 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Fri, 29 Sep 2023 09:59:09 -0700 Subject: [PATCH] [ci] Disable combine on PR builds (#5691) It takes 30 minutes, and the artifacts aren't used. The combine step changes so infrequently that it's unlikely to break in PRs, so it's a net benefit to speed up PR builds. --- .github/workflows/gradle.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 866f2aa88b..a9cf24be98 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -187,6 +187,9 @@ jobs: name: Combine needs: [build-docker, build-host, build-documentation] runs-on: ubuntu-22.04 + if: | + github.repository_owner == 'wpilibsuite' && + (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) steps: - uses: actions/checkout@v3 with: