From 4a85b823707166a73b74471089ab3e5c652cd4a8 Mon Sep 17 00:00:00 2001 From: ROVAST Date: Tue, 9 Aug 2022 11:44:04 +0800 Subject: [PATCH] Update README.md Fix env field syntax. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bbbeb1b..80a908b 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,12 @@ pull request using another GitHub action. For example: mode: fix - name: Apply Changes uses: EndBug/add-and-commit@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: author_name: License Bot author_email: license_bot@github.com message: 'Automatic application of license header' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` > **Warning**: The exit code of fix mode is always 0 and can not be used to block CI