Skip to content

Commit

Permalink
Merge pull request #13 from motlin/failure-guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin authored Jun 22, 2024
2 parents 9ba9407 + 229b46f commit 347c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
set -Eeuo pipefail
if [ -n "$(git log --merges origin/${{github.base_ref}}..refs/remotes/pull/${{github.event.pull_request.number}}/merge^2 --)" ]; then
echo "Failure: Found merge commits. Please refer to https://github.com/motlin/forbid-merge-commits-action/blob/main/README.md for guidance."
echo "Failure: Found merge commits. Please refer to https://github.com/motlin/forbid-merge-commits-action#handling-failure-messages for guidance."
git log --merges origin/${{github.base_ref}}..refs/remotes/pull/${{github.event.pull_request.number}}/merge^2 --
exit 1
else
Expand Down

0 comments on commit 347c425

Please sign in to comment.