Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate GitHub Actions code example "with" syntax to map instead of array #343
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
|
Hi @janiceilene, updated the section. Please let me know if I should further elaborate that. Thanks. |
Thanks so much @Shegox! I'll get this triaged for review |
Why:
The GitHub Action examples on the codeql page (https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning) use the "with" as an array, but this needs to be a map (see the actions docs here).
What's being changed:
Update GitHub Action code snippet on the "configuring code scanning" page to use correct map syntax for the variables in the "with" attribute instead of the array syntax.
Check off the following: