The org my repo is in doesn’t allow the use of external actions in our workflows. I looked at this post (I had the same error message) and tried to copy the actions/checkout code into my repo, but then I get the following error:
“Error: Can’t find ‘action.yml’, ‘action.yaml’ or ‘Dockerfile’ under ‘/home/runner/work/repo/repo/.github/actions/checkout@main’. Did you forget to run actions/checkout before running your local action?”
I can’t add new repos in my org, so I can’t clone actions/checkout@v2 (or whichever version) into my org, so how would I do this in these circumstances?