Workflows suddenly failing with "Error in fetching the workflow file"
See original GitHub issueDescribe the bug We experience a fail with workflows paths during builds while using reusable workflows. The files are unchanged and some workflows fail with the aforementioned parse error. It fails on different paths every-time and some times it does not fail. This is on a pipeline that has been stable for the past year or so.
For example this is from 30mins ago

while this is from 15mins ago, same path fails in the first and succeeds in the other attempt. Files are unchanged.

For example
- error parsing called workflow "./.github/workflows/build-node.yml": error in fetching the workflow file
- error parsing called workflow "./.github/workflows/push-docker-images.yml": error in fetching the workflow file
To Reproduce Steps to reproduce the behavior:
- Trigger reusable workflows
- See error from time to time / does not happen every time
Expected behavior Files and paths are correct. They worked for a year without this and it is been like 3 hours that 50% of the builds fail with a different path parse error. The same workflows work as well, it is not consistent or a problem of paths.
Runner Version and Platform
Version of your runner? github managed - ubuntu latest - 2.299.1
OS of the machine running the runner? Linux
What’s not working?

Issue Analytics
- State:
- Created 9 months ago
- Reactions:12
- Comments:5 (1 by maintainers)

Top Related StackOverflow Question
This also happened to me on some self-hosted runners, with runner 2.299.1
we are also experiencing this issue, if we close and reopen the PR then the workflow gets picked up again.