Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GHA when opam-rt uses a diverging API #6336

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Dec 11, 2024

Backported to 2.3 in #6337

Currently our Github Action script uses either opam-rt's master branch or a branch with the same name as the source branch. Obviously when a change to opam-rt is required between master and a backport branch such as 2.3, master becomes only available for opam master and the backport PRs will start failing.

This PR fixes this by simply looking up if the name of the target branch is available in the opam-rt repository and use that instead.

@kit-ty-kate kit-ty-kate merged commit 659e4ad into ocaml:master Dec 12, 2024
42 checks passed
@kit-ty-kate kit-ty-kate deleted the opam-rt-branches branch December 12, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants