Skip to content

Commit

Permalink
MINOR Fix CI workflow for push event (#17239)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mumrah authored Sep 19, 2024
1 parent e3983c2 commit 5701306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5701306

Please sign in to comment.