File tree 1 file changed +10
-1
lines changed
.github/workflows/scripts
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3
3
# Copyright The OpenTelemetry Authors
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
6
+ # Check for [chore] Prepare release PRs in core repo
6
7
BLOCKERS=$( gh pr list -A opentelemetrybot -S " [chore] Prepare release" --json url -q ' .[].url' -R " ${REPO} " )
8
+
9
+ # Check for [chore] Update core dependencies PRs in opentelemetry-collector-contrib
10
+ CONTRIB_REPO=" open-telemetry/opentelemetry-collector-contrib"
11
+ CONTRIB_BLOCKERS=$( gh pr list -A opentelemetrybot -S " [chore] Update core dependencies" --json url -q ' .[].url' -R " ${CONTRIB_REPO} " )
12
+
13
+ # Combine both blockers
14
+ BLOCKERS=" ${BLOCKERS}${BLOCKERS: + }${CONTRIB_BLOCKERS} "
15
+
7
16
if [ " ${BLOCKERS} " != " " ]; then
8
- echo " Merging in main is frozen, as there are open \" Prepare release\" PRs: ${BLOCKERS} "
17
+ echo " Merging in main is frozen, as there are open release/update PRs: ${BLOCKERS} "
9
18
echo " If you believe this is no longer true, re-run this job to unblock your PR."
10
19
exit 1
11
20
fi
You can’t perform that action at this time.
0 commit comments