github / docs

The open-source repo for docs.github.com
https://docs.github.com
Creative Commons Attribution 4.0 International
16.39k stars 59.95k forks source link

Empty `if` statement in article #35384

Open akordowski opened 1 day ago

akordowski commented 1 day ago

Code of Conduct

What article on docs.github.com is affected?

Sharing actions and workflows with your organization

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

The line 17 displayed below contains a empty if statement:

access a private {% ifversion internal-actions %} {% endif %}repository

https://github.com/github/docs/blob/92260b1541114e2294b2a927a6bb9eed53cb27fd/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md?plain=1#L16-L18

I think it could be removed.

Additional information

I could provide a PR to fix it.

chan731126 commented 1 day ago

行为守则

  • [x] 我已阅读并同意 GitHub Docs 项目的行为准则

docs.github.com 上的哪篇文章受到了影响?

与您的组织共享操作和工作流程

您希望更新文章的哪一部分?

下面显示的第 17 行包含一个空if语句:

access a private {% ifversion internal-actions %} {% endif %}repository

https://github.com/github/docs/blob/92260b1541114e2294b2a927a6bb9eed53cb27fd/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md?plain=1#L16-L18

我认为它可以被删除。

附加信息

我可以提供 PR 来修复它。

nguyenalex836 commented 17 hours ago

@akordowski I agree with you! Feel free to submit that PR whenever you have time 💛