From d86f1f4d61e97f033a3edbdcd234f7ff75a3a8a7 Mon Sep 17 00:00:00 2001 From: "Y. Meyer-Norwood" <106889957+norwd@users.noreply.github.com> Date: Thu, 8 Dec 2022 11:57:32 +1300 Subject: [PATCH] Correct the comment character in the YAML example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit How silly of me to use `//` instead of `#` 🤣 Signed-off-by: Y. Meyer-Norwood <106889957+norwd@users.noreply.github.com> --- README.md | 74 +++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 3dd581f..3d063a3 100644 --- a/README.md +++ b/README.md @@ -55,65 +55,65 @@ jobs: - uses: norwd/fmtya@v1 with: - // Due to how GitHub's permissions system is set up, the default token - // does not have the necessary access to update workflow files. If you - // want to want `fmtya` to format the files in the `.github/workflows` - // directory, you will need to set up a PAT with at least write access - // to both the `repo` and `workflows` permissions. + # Due to how GitHub's permissions system is set up, the default token + # does not have the necessary access to update workflow files. If you + # want to want `fmtya` to format the files in the `.github/workflows` + # directory, you will need to set up a PAT with at least write access + # to both the `repo` and `workflows` permissions. token: ${{ secrets. }} - // By default, `fmtya` uses the latest available version of `yamlfmt`. - // This may result changes to the behaviour of `fmtya`, for example if - // a major version of `yamlfmt` is released. If you prefer to manually - // select a specific version of `yamlfmt`, any released version can be - // pecifically requested. + # By default, `fmtya` uses the latest available version of `yamlfmt`. + # This may result changes to the behaviour of `fmtya`, for example if + # a major version of `yamlfmt` is released. If you prefer to manually + # select a specific version of `yamlfmt`, any released version can be + # pecifically requested. yamlfmt-version: vX.Y.Z - // If there are files in your repo that follow a different convention, - // are auto-generated, or you just don't want to format for any reason - // at all, you can exclude specific files, or only selectively include - // certain files. The patterns are parsed by `yamlfmt`, and internally - // use https://github.com/bmatcuk/doublestar. + # If there are files in your repo that follow a different convention, + # are auto-generated, or you just don't want to format for any reason + # at all, you can exclude specific files, or only selectively include + # certain files. The patterns are parsed by `yamlfmt`, and internally + # use https://github.com/bmatcuk/doublestar. exclude-files: test/data/*.{yaml,yml} include-files: | **/*.{yaml,yml} .yamlfmt - // Specific formatting options to configure the size of indents, or if - // yaml anchors or aliases should or shouldn't be allowed, can be used - // to control how yamlfmt formats the files in your repository. + # Specific formatting options to configure the size of indents, or if + # yaml anchors or aliases should or shouldn't be allowed, can be used + # to control how yamlfmt formats the files in your repository. indent-size: 2 line-ending-type: crlf include-document-start: false keep-line-breaks: false disallow-anchors: true - // If the default commit message is too generic, or you want to create - // a custom commit message, for example, from the output of a previous - // workflow step, you can overwrite the commit message to any string. + # If the default commit message is too generic, or you want to create + # a custom commit message, for example, from the output of a previous + # workflow step, you can overwrite the commit message to any string. commit-message: Reformat .yml files with yamlfmt - // When the formatting changes are made, they are committed by the bot - // account for GitHub Actions, and whoever pushed the unformatted file - // is listed as a co-author. To attribute the commit to a real person, - // or if you want to sign the commit, you can specify the username and - // email the same way you would to `git config user.name `. + # When the formatting changes are made, they are committed by the bot + # account for GitHub Actions, and whoever pushed the unformatted file + # is listed as a co-author. To attribute the commit to a real person, + # or if you want to sign the commit, you can specify the username and + # email the same way you would to `git config user.name `. commit-user-name: commit-user-email: }} signing-passphrase: ${{ secrets. }} ```