Error when evaluating 'runs-on' for job '...'. .github/workflows/....yaml (Line: 39, Col: 14): Unexpected value ''
#185775
-
Why are you starting this discussion?Product Feedback What GitHub Actions topic or product is this about?Workflow Configuration Discussion DetailsI want to underscore that this is a horrible user experience.
I have many questions:
Is the most likely line. If you know the answer and don't work for GitHub, please don't help. (As it happens, I do know the answer, but I want to underscore just how lousy this behavior is.) For the curious, people are welcome to message me on Slack (Cilium, GitHub Security, anywhere you can find me) and I will happily confirm/reject their guesses or give them hints. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
I'm also having this error, except it points to the correct line. I get this discussion is to call out the general behavior and have GitHub acknowledge the confusing nature here. It's also just unclear to me why this setup that's specifically called out in the Actions docs (https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-expanding-configurations) will cause a failed action. Also, a similar configuration for an os and Python matrix works in many other projects I work on, but not this one that I have just converted to a matrixed run. The below runner fails instantly with the following setup, so anything after doesn't matter. However, this same patterns works in multiple projects, whether or not name: Testing
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
schedule:
- cron: 0 0 * * MON
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.11', '3.13']
optional: [false]
include:
- python-version: '3.11'
optional: trueThe returned error message is the same one referenced in the original posting: For reference, the failing CI workflow is here: https://github.com/NatLabRockies/H2Integrate/actions/runs/22976451676, though every commit in this PR has failed for the same reason, but is not an issue in a similar setup here: https://github.com/NLRWindSystems/WOMBAT/actions/runs/22835404891/workflow. |
Beta Was this translation helpful? Give feedback.



💬 Your Product Feedback Has Been Submitted 🎉
Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users.
Here's what you can expect moving forward ⏩