docs: add README files for all shared actions
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Run Buildifier
|
||||
|
||||
Downloads and runs the Bazel buildifier tool in lint mode on Starlark files (like `BUILD.bazel`, `WORKSPACE`, `.bzl` files) to ensure they comply with standard formatting.
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Required | Default |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| `version` | The buildifier release version tag to download. | No | `v8.0.1` |
|
||||
|
||||
## Example Usage
|
||||
|
||||
```yaml
|
||||
- name: Format Check Starlark files
|
||||
uses: rodydavis/shared-actions/run-buildifier@main
|
||||
with:
|
||||
version: 'v8.0.1'
|
||||
```
|
||||
Reference in New Issue
Block a user