googleapis / googleapis/google-cloud-java

[sdk-platform-java] `update_generation_config.sh` does not consider existing closed PRs when checking for branch existence

オープン
#12,372 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: bug
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

For example: https://github.com/googleapis/java-pubsub/blob/ce7cb09ac5e86953815e2ead9ae9202e9b034ba6/.github/scripts/update_generation_config.sh#L109 is used to check whether we have an **open** PR with the target branch name, but unluckily java-pubsub had a **closed** PR with that branch name, so the whole action failed due to a `git push` that conflicted with the remote's contents.

An easy workaround: search for closed PRs (in this case it was [this one](https://github.com/googleapis/java-pubsub/pull/2581)) and run the action again.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。