[GitHub Actions]Pull requests always include some outdated checks

I updated my github actions workflow files to new yaml format. And found out every pull request will contains a expected check that is outdated and not exists in current workflow file. This cause the pull request’s status stuck in status “Some checks haven’t completed yet” like below.

The “Eslint Jest” check is removed a long time before and does not exist any more. But every pull request created now will contains it and will be expectd its status.How to fix that? 

Hi @morphinewan,

Thank you for being here and apologies for the delay in response! Looks like perhaps this is a protected branch and you’d need to disable the required checks on Eslint Jest. 

Thank you for your reply. But my problem is “ESLint Jest” task does not exists any more in fact. How can I disable the required checks of a non-exists check?

For more information.

I created the check named “ESLint Jest” for unit testing purpose. Then I renamed the check to chinese name “单体测试” after I upgraded to new yaml format workflow. And then every pull request will contains two checks. And the “ESLint Jest” check will never end or be excuted. And there is no logs about this outdated check in “Action” page.

It seems some kind of bug of Github Action.

You can remove the outdated check in the protected branch settings of the repository settings.


Thanks, problem is solved.

1 Like