-
Notifications
You must be signed in to change notification settings - Fork 327
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
publish.yml: Incorrect type. Expected "array". #10207
publish.yml: Incorrect type. Expected "array". #10207
Comments
Could you provide?
What you shared is unfortunately not enough especially because it has no syntax errors, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches-and-tags. |
@ozanozbeker Thanks a lot for the feedback. All our doc uses this syntax, which does not seem to be valid (anymore?) It should be
or
we'll update |
Just to clarify: The syntax used in the example does trigger linting error in VSCODE when using Actions extension Though it is valid syntax as our own workflow is using it quarto-cli/.github/workflows/test-quarto-latexmk.yml Lines 4 to 5 in 1c1609c
and this CI is running ok. To not trigger this linting schema error on our example, I'll update the doc using expected syntax. |
Avoid triggering linting error in VSCODE closes quarto-dev/quarto-cli#10207
To me the issue is somewhere else. Somewhere that wrongly enforces a restricted version of the GitHub Actions schema. |
I was not saying, don't do this. But we need to identify more clearly what is blocking here as some users might use the "branches: main" syntax and get no warnings or else from GitHub itself. |
@ozanozbeker we round trip to the source of the problem.
Where did you get this error ? |
FYI, I added the needs-repro because we don't know from where the "error" comes from. |
Ok I added it back |
Thank you for using Quarto and reporting an issue! Unfortunately, this issue is now considered stale because it has been opened since 14 days without providing a "working" reproducible example to help us investigate. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four
|
@ozanozbeker do you have more details to share ? |
I'm going to go ahead and close this one. If the original reporter can provide more information, please feel free to reopen. |
What would you like to do?
Report an issue on quarto.org
Description
Using the documentation to publish on Netlify via GitHub Actions, the .github/workflows/publish.yml gives the Problem:
Incorrect type. Expected "array".
when using:I believe it's supposed to be:
The text was updated successfully, but these errors were encountered: