wait-on-check-action: The requested check was never run against this ref, exiting...
Hello!
I am using your action to solve a problem I have:
- Workflow builds api on every push
- We want e2e workflow to run on PRs to master -> Runs using build artifact
So I set up a new workflow with your action, I used github.sha as ref because it runs in pushes to the PR.
on: pull_request: types: [opened, synchronize, reopened, ready_for_review] branches: - master
name: Wait until build is complete uses: lewagon/wait-on-check-action@v0.1 with: ref: ${{ github.sha }} # can be commit SHA or tag too check-name: build # name of the existing check - omit to wait for all checks repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 15 # seconds
I got this error. Maybe they triggered at the same time and e2e run before build job was started? I dont know if the correct way to implement it is to place some “sleep 15” before your wait on check 🤔
The requested check was never run against this ref, exiting...
Thank you for your time!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21
https://github.com/lewagon/wait-on-check-action/releases/tag/v0.2 🎉 big thanks to everyone involved! I will close the issue, feel free to reopen if any more corner cases surface
https://github.com/lewagon/wait-on-check-action/commit/bafe56a6863672c681c3cf671f5e10b20abf2eaa — this should fix it, please check @codetheweb 🙏
Thanks for letting me know, will fix tonight
I solved this by running with
uses: lewagon/wait-on-check-action@master
haven’t done a deep dive to figure out what’s changed since the release but in my case it I was trying to use the feature from PR #6 which doesn’t seem to be released yet.