Debian Codegraph @

.github/workflows/scripts/get-components.sh

raw
1 #!/usr/bin/env sh
2 #
3 # Copyright The OpenTelemetry Authors
4 # SPDX-License-Identifier: Apache-2.0
5 #
6 # Get a list of components within the repository that have some form of ownership
7 # ascribed to them.
8
9 grep -E '^[A-Za-z0-9/]' .github/CODEOWNERS | \
10 awk '{ print $1 }' | \
11 sed -E 's%(.+)/$%\1%'