diff --git a/buildifier/runner.bash.template b/buildifier/runner.bash.template index 800975a27..4606df219 100644 --- a/buildifier/runner.bash.template +++ b/buildifier/runner.bash.template @@ -13,6 +13,12 @@ buildifier_short_path=$(readlink "$BUILDIFIER_SHORT_PATH") -o -name BUILD.bazel \ -o -name BUILD \ -o -name '*.BUILD' \ - -o -name WORKSPACE \) \ + -o -name 'BUILD.*.bazel' \ + -o -name 'BUILD.*.oss' \ + -o -name WORKSPACE \ + -o -name WORKSPACE.bazel \ + -o -name WORKSPACE.oss \ + -o -name 'WORKSPACE.*.bazel' \ + -o -name 'WORKSPACE.*.oss' \) \ -print \ | xargs "$buildifier_short_path" "${ARGS[@]}")