[GitHub Actions]Pull requests always include some outdated checks #26104
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
You can remove the outdated check in the protected branch settings of the repository settings. |
Beta Was this translation helpful? Give feedback.
-
Thanks, problem is solved. |
Beta Was this translation helpful? Give feedback.
You can remove the outdated check in the protected branch settings of the repository settings.