Skip to content

Commit bd17b2c

Browse files
sarahsCopilot
andauthored
Convert 'type' frontmatter to 'contentType' (#60173)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d090b93 commit bd17b2c

File tree

647 files changed

+1301
-1353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

647 files changed

+1301
-1353
lines changed

content/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See the [contributing docs](https://docs.github.com/en/contributing) for general
2626
- [`learningTracks`](#learningtracks)
2727
- [`includeGuides`](#includeguides)
2828
- [`journeyTracks`](#journeytracks)
29-
- [`type`](#type)
29+
- [`contentType`](#contenttype)
3030
- [`communityRedirect`](#communityRedirect)
3131
- [`effectiveDate`](#effectiveDate)
3232
- [Escaping single quotes](#escaping-single-quotes)
@@ -238,7 +238,7 @@ defaultTool: cli
238238
**Note: the featured track is set by a specific property in the learning tracks YAML. See that [README](../data/learning-tracks/README.md) for details.*
239239

240240
### `includeGuides`
241-
- Purpose: Render a list of articles, filterable by `type` and `topics`. Only applicable when used with `layout: product-guides`.
241+
- Purpose: Render a list of articles, filterable by `contentType` and `topics`. Only applicable when used with `layout: product-guides`.
242242
- Type: `Array`
243243
- Optional.
244244

@@ -284,9 +284,9 @@ journeyTracks:
284284
- href: '/actions/deployment/deploying-with-github-actions'
285285
```
286286

287-
### `type`
287+
### `contentType`
288288
- Purpose: Indicate the type of article.
289-
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`.
289+
- Type: `String`, one of `get-started`, `concepts`, `how-tos`, `reference`, `tutorials`, `rai`, `landing` (only applies to `content/<product>/index.md` files).
290290
- Optional.
291291

292292
### `communityRedirect`
@@ -442,4 +442,4 @@ To create a product guides page (e.g. [Actions' Guide page](https://docs.github.
442442
1. (optional) Define which articles to include with [`includeGuides`](#includeGuides).
443443

444444
If using learning tracks, they need to be defined in [`data/learning-tracks/*.yml`](../data/learning-tracks/README.md).
445-
If using `includeGuides`, make sure each of the articles in this list has [`type`](#type) in its frontmatter.
445+
If using `includeGuides`, make sure each of the articles in this list has [`contentType`](#contenttype) in its frontmatter.

content/actions/concepts/security/openid-connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
type: tutorial
98
redirect_from:
109
- /actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
1110
- /actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect
1211
- /actions/concepts/security/about-security-hardening-with-openid-connect
12+
contentType: tutorials
1313
category:
1414
- Secure your workflows
1515
---

content/actions/concepts/workflows-and-actions/concurrency.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Concurrency
3-
intro: 'Learn about running workflows and jobs simultaneously.'
3+
intro: Learn about running workflows and jobs simultaneously.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

content/actions/concepts/workflows-and-actions/contexts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Contexts
3-
intro: 'Learn about contexts in {% data variables.product.prodname_actions %}.'
3+
intro: Learn about contexts in {% data variables.product.prodname_actions %}.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

content/actions/concepts/workflows-and-actions/custom-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: About custom actions
33
shortTitle: Custom actions
4-
intro: 'Actions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the {% data variables.product.prodname_dotcom %} community.'
4+
intro: Actions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the {% data variables.product.prodname_dotcom %} community.
55
redirect_from:
66
- /articles/about-actions
77
- /github/automating-your-workflow-with-github-actions/about-actions
@@ -15,7 +15,7 @@ versions:
1515
fpt: '*'
1616
ghes: '*'
1717
ghec: '*'
18-
type: overview
18+
contentType: concepts
1919
category:
2020
- Reuse and share automations
2121
---

content/actions/concepts/workflows-and-actions/dependency-caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Dependency caching
3-
intro: 'Learn about dependency caching for workflow speed and efficiency.'
3+
intro: Learn about dependency caching for workflow speed and efficiency.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

content/actions/concepts/workflows-and-actions/deployment-environments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Deployment environments
3-
intro: 'You can create and deploy to different environments.'
3+
intro: You can create and deploy to different environments.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Deploy to environments
1111
---

content/actions/concepts/workflows-and-actions/expressions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Expressions
3-
intro: 'You can evaluate expressions in workflows and actions.'
3+
intro: You can evaluate expressions in workflows and actions.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

content/actions/concepts/workflows-and-actions/variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Variables
3-
intro: 'Learn about variables in {% data variables.product.prodname_actions %} workflows.'
3+
intro: Learn about variables in {% data variables.product.prodname_actions %} workflows.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

content/actions/concepts/workflows-and-actions/workflow-artifacts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Workflow artifacts
3-
intro: 'Learn about storing and sharing data as artifacts of {% data variables.product.prodname_actions %} workflows.'
3+
intro: Learn about storing and sharing data as artifacts of {% data variables.product.prodname_actions %} workflows.
44
versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
type: overview
8+
contentType: concepts
99
category:
1010
- Write workflows
1111
---

0 commit comments

Comments
 (0)