.github/workflows/scripts/release-check-blockers.sh
raw| 1 | #!/bin/bash -ex |
| 2 | # |
| 3 | # Copyright The OpenTelemetry Authors |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | BLOCKERS=$( gh issue list --search "label:release:blocker" --json url --jq '.[].url' --repo "${REPO}" ) |
| 7 | if [ "${BLOCKERS}" != "" ]; then |
| 8 | echo "Release blockers in ${REPO} repo: ${BLOCKERS}" |
| 9 | exit 1 |
| 10 | fi |