Skip to content

Duplicate lines in code-scanning docs #37638

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

Open
1 task done
bo0tzz opened this issue Apr 18, 2025 · 4 comments · May be fixed by #37643
Open
1 task done

Duplicate lines in code-scanning docs #37638

bo0tzz opened this issue Apr 18, 2025 · 4 comments · May be fixed by #37643
Labels
content This issue or pull request belongs to the Docs Content team help wanted Anyone is welcome to open a pull request to fix this issue

Comments

@bo0tzz
Copy link

bo0tzz commented Apr 18, 2025

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale#eligible-repositories-for-codeql-default-setup-at-scale

What part(s) of the article would you like to see updated?

The "Eligible repositories" section mentions GitHub Actions are enabled. twice.

Additional information

No response

@bo0tzz bo0tzz added the content This issue or pull request belongs to the Docs Content team label Apr 18, 2025
Copy link

welcome bot commented Apr 18, 2025

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Apr 18, 2025
@Sharra-writes Sharra-writes added help wanted Anyone is welcome to open a pull request to fix this issue and removed triage Do not begin working on this issue until triaged by the team labels Apr 18, 2025
@Sharra-writes
Copy link
Contributor

Thanks for opening an issue! That's definitely a mistake, so you or anyone else can open a PR to fix it. 💛

@bo0tzz
Copy link
Author

bo0tzz commented Apr 18, 2025

That was my first instinct, but there's some templating going on that I couldn't quite find my way through.

* Advanced setup for {% data variables.product.prodname_code_scanning %} is not already enabled.
* {% data variables.product.prodname_actions %} are enabled.{% ifversion default-setup-pre-enablement %}
* Uses Go, JavaScript/TypeScript, Python, or Ruby.{% endif %}
{% data reusables.code-scanning.require-actions-ghcs %}

@Sharra-writes
Copy link
Contributor

Sharra-writes commented Apr 18, 2025

@bo0tzz Thankfully I'm pretty sure this one is an easy fix. Line 48 just needs to be deleted up to that first curly bracket in the code that starts {% ifversion, because the same text is included in the reusable on line 50. If you want to make that change, I can preview it to make sure it does what it's supposed to, or you can check it out in a codespace if you know how, and attach a screenshot. Either way would be fine! Or you could let someone else from the community jump in to fix it. 💛

@bo0tzz bo0tzz linked a pull request Apr 19, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team help wanted Anyone is welcome to open a pull request to fix this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants