Skip to content

Commit

Permalink
fix: don't fail bcr patch verify when there are none (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Oct 5, 2023
1 parent 2a05327 commit b134b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bazel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 //...
Expand Down

0 comments on commit b134b73

Please sign in to comment.