From 37846f1280593f1ed52b399787cc16a849dfbbaf Mon Sep 17 00:00:00 2001 From: Patrick Knight Date: Tue, 18 Feb 2025 10:31:19 -0600 Subject: [PATCH] Create enterprise-ruleset-workflow-rule.yml (#54356) Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Kevin Heis --- data/features/enterprise-ruleset-workflow-rule.yml | 5 +++++ .../repositories/rulest-workflows-intro-paragraph.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 data/features/enterprise-ruleset-workflow-rule.yml diff --git a/data/features/enterprise-ruleset-workflow-rule.yml b/data/features/enterprise-ruleset-workflow-rule.yml new file mode 100644 index 0000000000..93c82f94e4 --- /dev/null +++ b/data/features/enterprise-ruleset-workflow-rule.yml @@ -0,0 +1,5 @@ +# Issue #17051 +# enterprise workflow rule +versions: + ghec: '*' + ghes: '>= 3.18' diff --git a/data/reusables/repositories/rulest-workflows-intro-paragraph.md b/data/reusables/repositories/rulest-workflows-intro-paragraph.md index a45e811520..d3ea1167ac 100644 --- a/data/reusables/repositories/rulest-workflows-intro-paragraph.md +++ b/data/reusables/repositories/rulest-workflows-intro-paragraph.md @@ -1 +1 @@ -Ruleset workflows can be configured at the organization level to require workflows to pass before merging pull requests. For more information, see [AUTOTITLE](/organizations/managing-organization-settings/creating-rulesets-for-repositories-in-your-organization). +Ruleset workflows can be configured at the organization {% ifversion enterprise-ruleset-workflow-rule %}or enterprise {% endif %}level to require workflows to pass before merging pull requests. For more information, see [AUTOTITLE](/organizations/managing-organization-settings/creating-rulesets-for-repositories-in-your-organization).