Skip to content

Commit

Permalink
Configure git hooksPath before building on runners
Browse files Browse the repository at this point in the history
On runners git hooks aren't used, but we now configure them anyway to
avoid logspam on each bazel invocation since workspace-status.sh checks
whether githooks are in place.
  • Loading branch information
ohodson committed Oct 23, 2023
1 parent d507f8c commit 39ff173
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ jobs:
build:asan --config=limit-storage
build:debug --config=limit-storage
EOF
- name: Configure git hooks
# Configure git to quell an irrelevant warning for runners (they never commit / push).
run: git config core.hooksPath githooks
- name: Bazel build
# timestamps are no longer being added here, the GitHub logs include timestamps (Use
# 'Show timestamps' on the web interface)
Expand Down

0 comments on commit 39ff173

Please sign in to comment.