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

Syntax checker update needed #280

Closed
chester-leung opened this issue Mar 1, 2023 · 1 comment
Closed

Syntax checker update needed #280

chester-leung opened this issue Mar 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@chester-leung
Copy link

chester-leung commented Mar 1, 2023

Hi, first, thanks so much for building this!

GitHub recently released a new change that enables the runs-on section of an Actions workflow to have a labels and groups key under it. However, actionlint will throw an error if we do this:

.github/workflows/test.yaml:26:7: "runs-on" section must be sequence node but got mapping node with "!!map" tag [syntax-check]
   |
26 |       labels: custom-label
   |       ^~~~~~~

Can we please update the linter to reflect these new changes from GitHub? Thank you!

@mdfaizsiddiqui
Copy link

I am also facing the same problem!

@rhysd rhysd added the bug Something isn't working label Jun 5, 2023
@rhysd rhysd closed this as completed in 7e37dd1 Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants