Skip to content

Retrieve proper commitish for comparison from forked repos in PRs #12

@webknjaz

Description

@webknjaz

The current action implementation assumes that commits are always coming from the upstream repository but in reality, they don't, in the case of forks.

Context: cherrypy/cheroot#401 (comment).

This needs to be fixed here: https://github.com/platisd/bad-commit-message-blocker/blob/master/entrypoint.sh#L14.

Action items:

  • Check the GitHub Actions docs to figure out the variable that exposes this information
  • Use that to send a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions