From bb3ca765afdde129dbde9599979c21f6d97e9b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=ADa?= Date: Fri, 24 Jan 2025 22:00:38 +0100 Subject: [PATCH] docs(README): remove extra space in variable syntax in README example (#201) ### Fix syntax error in GitHub Actions example in README This PR fixes a syntax error in the "Create a git committer string for an app installation" example in the README file. #### What was wrong? The example contained an incorrect space in the variable syntax: ```yaml ${ {steps.committer.outputs.string }} ``` This caused the example to fail, as GitHub Actions does not allow spaces in variable interpolation. #### What was fixed? The syntax was corrected to: ```yaml ${{ steps.committer.outputs.string }} ``` This fix ensures that users can copy and use the example without encountering any errors. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fb717e..a0518e7 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ jobs: GH_TOKEN: ${{ steps.app-token.outputs.token }} - id: committer run: echo "string=${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>" >> "$GITHUB_OUTPUT" - - run: echo "committer string is ${ {steps.committer.outputs.string }}" + - run: echo "committer string is ${{ steps.committer.outputs.string }}" ``` ### Configure git CLI for an app's bot user