Skip to content

Commit 9e70404

Browse files
authored
chore: add --check_direct_dependencies to .bazelrc (#615)
1 parent 98efaf8 commit 9e70404

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ common:needs_credential_helpers --credential_helper=index.docker.io=%workspace%/
1515
common:needs_credential_helpers --credential_helper=docker.elastic.co=%workspace%/examples/credential_helper/auth.sh
1616
common:needs_credential_helpers --credential_helper_cache_duration=0
1717

18+
# Don’t want to push a rules author to update their deps if not needed.
19+
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
20+
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
21+
common --check_direct_dependencies=off
22+
1823
# Load any settings specific to the current user.
1924
# .bazelrc.user should appear in .gitignore so that settings are not shared with team members
2025
# This needs to be last statement in this

0 commit comments

Comments
 (0)