Solved: Deleted matrix jobs still showing up but not running

In my .github/workflows/ci.yaml I have:

    runs-on: ubuntu-20.04

        image: postgres:10.8
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: postgres
        - 5432:5432

      max-parallel: 4
        python-version: [3.8, 3.9]
        database-url: ["", "postgresql://postgres:postgres@localhost:5432/postgres"]

Now, I used to have python-version: [3.7, 3.8] there. I’ve since dropped support for Python 3.7 and added support for 3.9. Seems ok so far.

But now whenever I create a PR in my project, I get stale 3.7 jobs showing up in the checks list. But the jobs never start. So my PR is blocked from being merged:

Here’s my PR: Bump alembic from 1.4.3 to 1.5.0 by dependabot · Pull Request #335 · lexicalunit/spellbot · GitHub

How do I get the checks list to stop showing jobs for 3.7? Was removing 3.7 from my jobs matrix somehow not enough?

Figured it out. I needed to go to my repository > Settings > Branches > Branch protection rules > master > Edit.

Then disable the 3.7 status checks in the list of “Status checks found in the last week for this repository”.

1 Like