Skip to content

Commit

Permalink
Try bazel steward (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc authored Jan 11, 2024
1 parent 207435d commit 163c7bd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .bazel-steward.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
search-paths:
-
kinds: bazel
path-patterns:
- "bazel/BUILD.bazel"
post-update-hooks:
- commands: "buildifier --lint=fix -r ."
files-to-commit:
- "bazel/BUILD.bazel"
run-for: pull-request
commit-message: "Apply buildifier"
15 changes: 15 additions & 0 deletions .github/workflows/bazel-steward.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Bazel Steward

on:
workflow_dispatch:
schedule:
- cron: '30 5 * * *' # runs every day at 5:30 am

jobs:
bazel-steward:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: VirtusLab/bazel-steward@latest
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build
_build

# bazel
bazel-*
bazel-*/

# cmake related
abseil-cpp
Expand Down

0 comments on commit 163c7bd

Please sign in to comment.