actions
actions copied to clipboard
Fix cljfmt fix on PR review, update README with more examples
Fixes cljfmt
fix on PR review, problems were:
- On
pull_request
the env varGITHUB_REF
points to PR merge branchrefs/pull/:prNumber/merge
and_remote_commit
fails, fixed by usingGITHUB_HEAD_REF
. - On
pull_request_review
these are empty, and we need to parse PR head ref from action event and pass it via new env varGITHUB_PR_HEAD_REF
, added as an example to README.