Skip to content

Duplicate lines in code-scanning docs #37638

Closed
@bo0tzz

Description

@bo0tzz

Code of Conduct

  • I have read and agree to the GitHub Docs project's 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

Activity

added
contentThis issue or pull request belongs to the Docs Content team
on Apr 18, 2025
welcome

welcome commented on Apr 18, 2025

@welcome

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.

added
triageDo not begin working on this issue until triaged by the team
on Apr 18, 2025
added
help wantedAnyone is welcome to open a pull request to fix this issue
and removed
triageDo not begin working on this issue until triaged by the team
on Apr 18, 2025
Sharra-writes

Sharra-writes commented on Apr 18, 2025

@Sharra-writes
Contributor

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

bo0tzz

bo0tzz commented on Apr 18, 2025

@bo0tzz
ContributorAuthor

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

Sharra-writes commented on Apr 18, 2025

@Sharra-writes
Contributor

@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. 💛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Duplicate lines in code-scanning docs · Issue #37638 · github/docs