GitHub Workflow Action to run buildifier on bazel files
Optional Inputs:
- filetypes: bazel filetypes to search for. Defaults to all files.
- excludes: filter to pass to find via '-not -path' to exclude paths.
- warnings: filter of warnings to add or exclude to buildifier.
By default, buildifier excludes some warnings, so use warnings: all
to include
all warnings.
Simple example, use all buildifier warnings
uses: thompsonja/[email protected]
with:
warnings: all
Exclude third_party BUILD files
uses: thompsonja/[email protected]
with:
excludes: ./third_party/*
Only consider BUILD and .bzl files
uses: thompsonja/[email protected]
with:
filetypes: BUILD,bzl