Skip to content

Handle GitHub tags whose targets have no commit date - #208

Open
codewithfourtix wants to merge 2 commits into
aboutcode-org:masterfrom
codewithfourtix:fix-github-tags-without-commit-target
Open

Handle GitHub tags whose targets have no commit date#208
codewithfourtix wants to merge 2 commits into
aboutcode-org:masterfrom
codewithfourtix:fix-github-tags-without-commit-target

Conversation

@codewithfourtix

Copy link
Copy Markdown

The GraphQL tag query can return an empty target object for tags pointing to non-commit objects. Keep these tag names with an unknown date instead of raising KeyError.

Adds regressions for direct and annotated targets without commit data.

Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant