13rac1 / block-fixup-merge-action

Github Action to block merge of Pull Requests containing fixup! or squash! commits
MIT License
46 stars 14 forks source link

Change to Github Actions breaks Action #6

Closed 13rac1 closed 4 years ago

13rac1 commented 4 years ago

:thinking: Oddly this stopped working. There was a change to the Github Actions git configuration which made the git history disappear. Two issues:

  1. The action should fail when there is an error like this.
  2. The action should be working. Fix it.
Current ref: refs/heads/test-action
Current branch: test-action
fatal: ambiguous argument 'origin/master..origin/test-action': unknown revision or path not in the working tree.
Fixup! commits: 0
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'