You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't been able to get this action working when it's a part of a reusable workflow, have you?
I keep having it erroring out like this:
Polling API for checks status, iteration: 89 out of 90
Warning: Error extracting job name from workflow file, falling back to "allchecks" (this may not be correct): Error: Error getting file: Not Found
Warning: Could not determine own allcheckspassed check (expected name: "allchecks", this may cause an indefinite loop)
Polling API for checks status, iteration: 90 out of 90
Error: Some checks have failed or timed out, please check the workflow run summary to get the details
This is what it looks like in my reusable workflow:
name: Checkson:
workflow_call:
jobs:
allchecks:
name: allchecks# job name hardcoded so it can find and exclude itself (self-detection seems to fail)permissions:
checks: readcontents: readruns-on: ubuntu-lateststeps:
- uses: wechuli/allcheckspassed@2e5e8bbc775f5680ed5d02e3a22e2fc7219792ac # v1.1.0with:
retries: "90"polling_interval: "1"
In the case of a reusable job, GitHub builds the check name from all the jobs in the chain, so in your case the check is called allchecks / allchecks but the current logic expects the check to just be called allchecks. I'll do some tests to see if there is a way to definitively know if the job is part of a reusable.
I haven't been able to get this action working when it's a part of a reusable workflow, have you?
I keep having it erroring out like this:
This is what it looks like in my reusable workflow:
And here is one way to consume it:
The text was updated successfully, but these errors were encountered: