googleapis / googleapis/google-cloud-java

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

Offen
#12,372 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: bug
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.