Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try bazel steward #463

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
16 changes: 16 additions & 0 deletions .github/workflows/bazel-steward.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
Loading