From 57013061c159d235f36d95ad0130e058832c26ef Mon Sep 17 00:00:00 2001 From: David Arthur Date: Thu, 19 Sep 2024 17:07:31 -0400 Subject: [PATCH] MINOR Fix CI workflow for push event (#17239) On trunk, our CI runs in response to "push" events. The change in #17227 causes the workflow template to be invalid, which prevents the build from starting. This patch fixes that by defaulting to `false` Reviewers: Justine Olshan --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b218ef89f6bd..280483fc3b528 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,6 @@ jobs: with: gradle-cache-read-only: ${{ github.ref != 'refs/heads/trunk' }} gradle-cache-write-only: ${{ github.ref == 'refs/heads/trunk' }} - is-public-fork: ${{ github.event.pull_request.head.repo.fork }} + is-public-fork: ${{ github.event.pull_request.head.repo.fork || false }} secrets: inherit