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 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: bug
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
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 摘要。