File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,9 +130,10 @@ jobs:
130130 PR_NUMBER=$(gh pr list \
131131 --base main \
132132 --state open \
133- --search "Release $BUMPED_VERSION in:title" \
134- --json number,title \
135- --jq ".[] | select(.title == \"Release $BUMPED_VERSION\") | .number" | head -n 1)
133+ --search "\"Release $BUMPED_VERSION\" in:title" \
134+ --limit 1 \
135+ --json number \
136+ --jq '.[0].number // empty')
136137
137138 if [[ -z "$PR_NUMBER" ]]; then
138139 echo "Unable to find release PR for version $BUMPED_VERSION"
@@ -149,7 +150,11 @@ jobs:
149150
150151 UPDATED_BODY=$(printf "%s\n\n## Release Options\n%s\n- [x] Build streams adapter images\n" "$PR_BODY" "$MARKER")
151152
152- gh pr edit "$PR_NUMBER" --body "$UPDATED_BODY"
153+ gh api \
154+ --method PATCH \
155+ "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER" \
156+ -f body="$UPDATED_BODY" \
157+ --silent
153158 - name : Tag changesets commit
154159 run : |
155160 # Delete the tags if they already exist (ignore errors if they don't)
You can’t perform that action at this time.
0 commit comments