If someone is using Rebase merge option in Github repo, it leads to moving commit from feature branch to main branch without creating an intermediate merge commit. So SHA-256 hash of this commit remains the same.
Because default ref value is github.sha, this action reports previous check status, because it already been executed for the same commit.
Here I've changed default ref value to github.ref which points the the exact branch.
If someone is using
Rebase
merge option in Github repo, it leads to moving commit from feature branch to main branch without creating an intermediate merge commit. So SHA-256 hash of this commit remains the same.Because default
ref
value isgithub.sha
, this action reports previous check status, because it already been executed for the same commit.Here I've changed default
ref
value togithub.ref
which points the the exact branch.