mirror of
https://github.com/orhun/git-cliff-action.git
synced 2026-03-22 15:35:44 +08:00
feat(run): toggle trace logs with environment variable (#59)
Now you can enable trace logs via setting the `DEBUG` variable to a value. It is also now disabled as default. closes #60
This commit is contained in:
@@ -20,6 +20,7 @@ This action generates a changelog based on your Git history using [git-cliff](ht
|
|||||||
### Environment variables
|
### Environment variables
|
||||||
|
|
||||||
- `OUTPUT`: Output file. (Default: `"git-cliff/CHANGELOG.md"`)
|
- `OUTPUT`: Output file. (Default: `"git-cliff/CHANGELOG.md"`)
|
||||||
|
- `DEBUG`: Set to a not empty value (e.g. `"true"`) to print executed commmands. (Default: `unset`)
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Check out the entire history via `fetch-depth: 0` before running this action.
|
> Check out the entire history via `fetch-depth: 0` before running this action.
|
||||||
|
|||||||
Reference in New Issue
Block a user