Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected key "run-name" for "workflow" - need to add the new runs-on key to the schema #220

Closed
sammcj opened this issue Sep 29, 2022 · 2 comments

Comments

@sammcj
Copy link

sammcj commented Sep 29, 2022

runs-on is a new workflow key for dynamic workflow naming.

Currently ActionLint throws an error that the key is unexpected.

[actionlint] reported by [reviewdog](https://github.com/reviewdog/reviewdog) 🐶
unexpected key "run-name" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions" [syntax-check]

It was merged into the github-workflow schema on SchemaStore yesterday - https://github.com/SchemaStore/schemastore/pull/2503/files

I'm not sure if actionlint is using it's own copy of the schema or needs to pull in the update from SchemaStore perhaps?

https://github.com/SchemaStore/schemastore/pull/2503/files

@rhysd
Copy link
Owner

rhysd commented Sep 29, 2022

This is already fixed at main branch and will be included in next release.

@rhysd
Copy link
Owner

rhysd commented Sep 30, 2022

v1.6.20 was released.

@rhysd rhysd closed this as completed Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants