NiklasRosenstein / slap

Slap is a CLI to assist in the process for developing and releasing Python packages.
https://niklasrosenstein.github.io/slap/
Other
21 stars 12 forks source link

Update changelog action does not work on Pull request from a fork #90

Open NiklasRosenstein opened 1 year ago

NiklasRosenstein commented 1 year ago

It tries to checkout the GITHUB_HEAD_REF but that doesn't exist.

Example: https://github.com/NiklasRosenstein/docspec/actions/runs/4379509209/jobs/7665542051

Run git checkout $GITHUB_HEAD_REF
error: pathspec 'blib2to3' did not match any file(s) known to git
Error: Process completed with exit code 1.
NiklasRosenstein commented 1 year ago

Seems like it's failing for my own PRs as well: https://github.com/NiklasRosenstein/docspec/actions/runs/4379590126/jobs/7665720399