Renaming workflow job creates indefinite CI check on Github

Previously, our old Circle2.0 config.yml had a workflow running three jobs: build, secure-n-lint, and test

Recently, we changed the name of build to checkout, but this has caused all our Github PR’s to hang indefinitely because Github is waiting for a job named build to complete (even though this job doesn’t exist anymore).

image

Even our branches, built off of current master with the latest config.yml, still give us the attached error. How can we make Github “forget” the old “build” job?

Hi! Since this is a required job status, you would have to update GH protected branch settings.

Here is a doc explaining how it can be done:
https://circleci.com/docs/2.0/workflows/#workflows-waiting-for-status-in-github.

Hope this helps.

Thanks!

2 Likes

Thanks! This fixes it. Changing the name of a job means we have to go into Github and uncheck the old job name.