Skip to content

Fix ancestry checks#32

Merged
alicederyn merged 3 commits intomainfrom
fix.ancestry.logic
Jul 14, 2025
Merged

Fix ancestry checks#32
alicederyn merged 3 commits intomainfrom
fix.ancestry.logic

Conversation

@alicederyn
Copy link
Owner

We were relying on the local git repo to determine ancestry; however, if a commit was pushed directly to a PR (for instance, a merge commit generated by GitHub), it is not necessarily available locally. Instead, pull the commit history from GitHub itself.

In passing, remove the outdated Ruff ANN101 ignore, as this rule was removed from Ruff and is now generating a warning when we ignore it.

Alice Purcell added 2 commits July 14, 2025 09:34
This rule was removed from Ruff and is now generating a warning when we ignore it.
We were relying on the local git repo to determine ancestry; however, if a commit was pushed directly to a PR (for instance, a merge commit generated by GitHub), it is not necessarily available locally. Instead, pull the commit history from GitHub itself.
@alicederyn alicederyn added the bug Something isn't working label Jul 14, 2025
@alicederyn alicederyn merged commit b2c8320 into main Jul 14, 2025
3 checks passed
@alicederyn alicederyn deleted the fix.ancestry.logic branch July 14, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant