Skip to content

Commit

Permalink
Always use yaml instead of sometimes yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Simran-B committed May 7, 2021
1 parent 49a3a80 commit 2f9df80
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions content/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See [Versioning](#versioning) for more info.

Example that applies to GitHub.com and recent versions of GitHub Enterprise Server:

```yml
```yaml
title: About your personal dashboard
versions:
free-pro-team: '*'
Expand All @@ -67,15 +67,15 @@ versions:
Example that applies to all supported versions of GitHub Enterprise Server:
(but not GitHub.com):
```yml
```yaml
title: Downloading your license
versions:
enterprise-server: '*'
```
You can also version a page for a range of releases. This would version the page for GitHub Enterprise Server 2.22 and 3.0 only:
```yml
```yaml
versions:
free-pro-team: '*'
enterprise-server: '>=2.22 <3.1'
Expand All @@ -89,7 +89,7 @@ versions:

Example:

```yml
```yaml
title: Getting started with GitHub Desktop
redirect_from:
- /articles/first-launch/
Expand All @@ -113,7 +113,7 @@ See [`contributing/redirects`](contributing/redirects.md) for more info.

Example:

```yml
```yaml
title: Contributing to projects with GitHub Desktop
shortTitle: Contributing to projects
```
Expand Down Expand Up @@ -233,7 +233,7 @@ defaultTool: cli

Example:

```yml
```yaml
includeGuides:
- /actions/guides/about-continuous-integration
- /actions/guides/setting-up-continuous-integration-using-workflow-templates
Expand All @@ -258,7 +258,7 @@ includeGuides:

Example:

```yml
```yaml
contributor:
name: ACME, inc.
URL: https://acme.example.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ This example workflow runs anytime commits are pushed to the repository. The act

The workflow shows an example of running the ESLint static analysis tool as a step in a workflow. The `Run ESLint` step runs the ESLint tool and outputs the `results.sarif` file. The workflow then uploads the `results.sarif` file to {% data variables.product.prodname_dotcom %} using the `upload-sarif` action. For more information about creating a workflow file, see "[Introduction to GitHub Actions](/actions/learn-github-actions/introduction-to-github-actions)."

```yml
```yaml
name: "ESLint analysis"
# Run workflow each time code is pushed to your repository and on a schedule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This example workflow runs anytime commits are pushed to the repository. The act

The workflow shows an example of running the ESLint static analysis tool as a step in a workflow. The `Run ESLint` step runs the ESLint tool and outputs the `results.sarif` file. The workflow then uploads the `results.sarif` file to {% data variables.product.prodname_dotcom %} using the `upload-sarif` action. For more information about creating a workflow file, see "[Introduction to GitHub Actions](/actions/learn-github-actions/introduction-to-github-actions)."

```yml
```yaml
name: "ESLint analysis"
# Run workflow each time code is pushed to your repository and on a schedule.
Expand Down
2 changes: 1 addition & 1 deletion data/variables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The *path*, *filename*, and *keys* within each YAML file determine what its path

For example, given a file `data/variables/foo/bar.yml`:

```yml
```yaml
# multiple short strings in one file
meaning_of_life: 42

Expand Down

0 comments on commit 2f9df80

Please sign in to comment.