#!/usr/bin/env bash
#
# Copyright 2025 Google LLC
# SPDX-License-Identifier: Apache-2.0

set -euo pipefail

TOP_DIR=$(git rev-parse --show-toplevel)

pushd "${TOP_DIR}/go"
go-licenses check ./... --disallowed_types=restricted,forbidden,reciprocal,unknown
popd
