From b134b73fcae522bc77dcc03533d3de20b45714bf Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 5 Oct 2023 11:50:49 -0700 Subject: [PATCH] fix: don't fail bcr patch verify when there are none (#9) --- .github/workflows/bazel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bazel.yaml b/.github/workflows/bazel.yaml index ac0062c..4c80706 100644 --- a/.github/workflows/bazel.yaml +++ b/.github/workflows/bazel.yaml @@ -143,7 +143,7 @@ jobs: # See https://github.com/bazel-contrib/publish-to-bcr#including-patches - name: verify bcr patches - if: matrix.bzlmodEnabled + if: matrix.bzlmodEnabled && hashFiles('.bcr/patches/*.patch') != '' run: patch --dry-run -p1 < .bcr/patches/*.patch - name: bazel test //...