For repos that do not have releases and if changes are needed to be identified "after" a merged PR on a main branch, use the getPullRequestBySha endpoint.
- Find the PR that created the tag (non-release tag)
- If cannot find merged PR, before a basehead comparison.
- If base reference has the same sha as the head ref, either attempt to get from latest release or fail the action
For repos that do not have releases and if changes are needed to be identified "after" a merged PR on a
mainbranch, use thegetPullRequestByShaendpoint.