Retain status checks after automatic commit

I’m using the git-auto-commit-action to automatically commit style fixes on PRs. The main functionality works as expected; however, since the new commits (correctly) don’t re-run the action, the status check is no longer available on the latest commit. Thus, any checks I require are no longer satisfied on the PR (requiring, say, a trivial commit to re-trigger CI).

Is there some way around this which would allow the changes to be committed while retaining the status checks from the Actions run?


When you push a new commit to the head branch (source branch) of the PR, generally the new check runs will be triggered on the latest commit. Especially the Required checks must run successfully on the latest commit, so that the PR can be mergeable.

For the latest commit, you should not try to skip triggering new check runs or retain the checks status of the old commit.