mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #8985] Checkout common ancestor for comparison in OpenAPI workflow #11936
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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