Skip to content

Commit 5cb0ae6

Browse files
salilsubsaritai
andauthored
Updating the non-public workflow template docs (#60404)
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
1 parent 90c6940 commit 5cb0ae6

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

content/actions/how-tos/reuse-automations/create-workflow-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ category:
2424

2525
This procedure demonstrates how to create a workflow template and metadata file. The metadata file describes how the workflow templates will be presented to users when they are creating a new workflow.
2626

27-
1. If it doesn't already exist, create a new repository named `.github` in your organization.
27+
1. If it doesn't already exist, create a new {% ifversion actions-nga %} {% else %}public {% endif %}repository named `.github` in your organization.
2828
1. Create a directory named `workflow-templates`.
2929
1. Create your new workflow file inside the `workflow-templates` directory.
3030

content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ When a reusable workflow is triggered by a caller workflow, the `github` context
115115

116116
Reference information to use when creating workflow templates for your organization.
117117

118+
{% ifversion actions-nga %}
118119
### Workflow template availability
119120

120121
You can use templates in repositories that match or have more restricted visibility than the template repository.
@@ -132,6 +133,7 @@ Because public workflow templates require a public `.github` repository, they ar
132133
### Granting access for private/internal repositories
133134

134135
If you're using a private or internal `.github` repository, you need to grant Read access to users or teams who should be able to use the templates.
136+
{% endif %}
135137

136138
### The `$default-branch` placeholder
137139

data/features/actions-nga.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# New feature: actions-nga
2+
# Versioning for Actions NGA (Next Generation Architecture) features
3+
versions:
4+
fpt: '*'
5+
ghec: '*'

0 commit comments

Comments
 (0)