[PR #8985] Checkout common ancestor for comparison in OpenAPI workflow #11936

Closed
opened 2026-02-07 06:47:09 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/8985

State: closed
Merged: Yes


Changes
Find the common ancestor between the pull request and it's target branch so we can compare the OpenAPI changes properly. I tested this in my fork and it does seem to work after a bunch of trial and error.

This fixes the problem where once a API-changing PR is merged to master, the workflow would suddenly act like the API changes were reverted in all other PR's because it checked out the latest commit in master instead of the common ancestor.

Issues

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/8985 **State:** closed **Merged:** Yes --- **Changes** Find the common ancestor between the pull request and it's target branch so we can compare the OpenAPI changes properly. I tested this in my fork and it does seem to work after a bunch of trial and error. This fixes the problem where once a API-changing PR is merged to master, the workflow would suddenly act like the API changes were reverted in all other PR's because it checked out the latest commit in master instead of the common ancestor. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # -->
OVERLORD added the pull-request label 2026-02-07 06:47:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11936