Fix wrong env field in demo doc (#129)
diff --git a/README.md b/README.md
index bbbeb1b..80a908b 100644
--- a/README.md
+++ b/README.md
@@ -69,12 +69,12 @@
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