diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index ec54168b8..261af588e 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -23,6 +23,7 @@ stardoc_with_diff_test( stardoc_with_diff_test( name = "docs", bzl_library_target = "//lib:docs", + tags = ["some_random_tag_for_testing_pr746_regression"], ) stardoc_with_diff_test( diff --git a/lib/private/docs.bzl b/lib/private/docs.bzl index f2a5dce1e..efa225d4b 100644 --- a/lib/private/docs.bzl +++ b/lib/private/docs.bzl @@ -30,7 +30,7 @@ def stardoc_with_diff_test( out = name + "-docgen.md", input = bzl_library_target + ".bzl", deps = [bzl_library_target], - tags = ["package:" + native.package_name()], # Tag the package name which will help us reconstruct the write_source_files label in update_docs + tags = kwargs.pop("tags", []) + ["package:" + native.package_name()], # Tag the package name which will help us reconstruct the write_source_files label in update_docs target_compatible_with = target_compatible_with, **kwargs )