1
0
mirror of synced 2026-01-08 03:01:54 -05:00

[fast follow] Update required workflow documentation for GHES 3.9 release (#36470)

This commit is contained in:
Joe Clark
2023-04-18 12:00:13 -07:00
committed by GitHub
parent 739fe6509a
commit bd2c4d6558

View File

@@ -3,7 +3,9 @@
* Workflows stored in a public repository can be configured as required workflows for any repository in your organization. Workflows stored in a private repository can only be configured as required workflows for other private repositories in your organization. {% ifversion ghes or ghec or ghae %} Workflows stored in internal repositories can be configured as required workflows for internal and private repositories in your organization.{% endif %}
* CodeQL is not supported in required workflows because CodeQL requires configuration at the repository level. For information on configuring code scanning, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository)."
{% ifversion actions-required-workflow-improvements %}
{% ifversion fpt or ghec %}
* To push to a branch where required workflows are enforced at the organizational level, create a pull request to make the necessary changes. You cannot push directly to branches with required workflow enforcements.
* If you want to allow direct pushes for a particular repository, you must remove the repository as a target from respective required workflows.
{% endif %}
* Required workflows can be referenced using any branch, tag, or commit SHA from the repository containing the workflow file.
{% endif %}