We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5434828 + 36a7a29 commit d508a7bCopy full SHA for d508a7b
1 file changed
action.yml
@@ -58,7 +58,7 @@ runs:
58
echo "$1" | sed -E 's/\[([^\]]+)\]\(([^)]+)\)/\2/g'
59
}
60
61
- MERGE_COMMITS=$(git log --merges --format=%H origin/${{github.base_ref}}..refs/remotes/pull/${{github.event.pull_request.number}}/merge^2 --)
+ MERGE_COMMITS=$(git log --merges --format=%H origin/${{github.base_ref}}..${{github.event.pull_request.head.sha}} --)
62
if [ -n "$MERGE_COMMITS" ]; then
63
ANNOTATION_LEVEL=$([ "$FAIL_ON_MERGE_COMMITS" = "true" ] && echo "error" || echo "warning")
64
CONSOLE_FAIL_NOTICE=$(unwrap_markdown_urls "$FAIL_NOTICE")
0 commit comments