From 2f9df80b4dd5d263c2d3d1791ccb47c28ec61cff Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Fri, 7 May 2021 12:06:04 +0200 Subject: [PATCH] Always use ```yaml instead of sometimes ```yml --- content/README.md | 14 +++++++------- .../uploading-a-sarif-file-to-github.md | 2 +- .../uploading-a-sarif-file-to-github.md | 2 +- data/variables/README.md | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content/README.md b/content/README.md index 195881afdb..95e88b5f2f 100644 --- a/content/README.md +++ b/content/README.md @@ -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: '*' @@ -67,7 +67,7 @@ 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: '*' @@ -75,7 +75,7 @@ versions: 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' @@ -89,7 +89,7 @@ versions: Example: -```yml +```yaml title: Getting started with GitHub Desktop redirect_from: - /articles/first-launch/ @@ -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 ``` @@ -233,7 +233,7 @@ defaultTool: cli Example: -```yml +```yaml includeGuides: - /actions/guides/about-continuous-integration - /actions/guides/setting-up-continuous-integration-using-workflow-templates @@ -258,7 +258,7 @@ includeGuides: Example: -```yml +```yaml contributor: name: ACME, inc. URL: https://acme.example.com/ diff --git a/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md b/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md index f04eb5bb35..4cad6bec03 100644 --- a/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md +++ b/content/code-security/secure-coding/uploading-a-sarif-file-to-github.md @@ -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. diff --git a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md index 4d8188ac5d..25d0a45851 100644 --- a/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md +++ b/content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md @@ -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. diff --git a/data/variables/README.md b/data/variables/README.md index 7486f637b7..f8fa22a8e6 100644 --- a/data/variables/README.md +++ b/data/variables/README.md @@ -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