checkout: Unable to resolve action `actions/checkout@v4`, unable to find version `v4`

I am trying to utilize the new Checkout multiple repos (private) feature with actions/checkout@v4 however I am getting this error message when I try to run it:

Error: Unable to resolve action actions/checkout@v4, unable to find version v4

I am currently using a self-hosted runner and am wondering if that is where the issue is stemming from? Any help/suggestions would be appreciated!

About this issue

Most upvoted comments

I manage to solve the problem and it turned out to not be an issue with actions/checkout@v4 itself. In my case, the issue was a broken third-party action elsewhere in the workflow. GitHub resolves all actions up front, so if any action can’t be fetched, even checkout fails.

To debug, I used a minimal workflow:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

✅ That worked. I then added steps back one at a time until it broke — and found the culprit.

worked for me just now