Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 6

[GitHub Actions]Pull requests always include some outdated checks

Solved! Go to Solution.

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.

 

屏幕快照 2019-08-27 08.24.42.png

 

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? 

5 Replies
Community Manager
Message 2 of 6

Re: [GitHub Actions]Pull requests always include some outdated checks

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. 


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 3 of 6

Re: [GitHub Actions]Pull requests always include some outdated checks

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?

Copilot Lvl 3
Message 4 of 6

Re: [GitHub Actions]Pull requests always include some outdated checks

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.

Solution
Copilot Lvl 3
Message 5 of 6

Re: [GitHub Actions]Pull requests always include some outdated checks

You can remove the outdated check in the protected brunch settings of the repository settings.
Copilot Lvl 3
Message 6 of 6

Re: [GitHub Actions]Pull requests always include some outdated checks

Thanks, problem is solved.