mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-10 00:03:53 +01:00
Merge pull request #657 from bnjbvr/write-changes
Allow writing changes in the github action
This commit is contained in:
3 files changed
+21
No files matched your search
@@ -43,6 +43,11 @@ if [ "${INPUT_ISOLATED:-false}" == "true" ]; then
|
||||
ARGS+=" --isolated"
|
||||
fi
|
||||
|
||||
# Write changes to the repository
|
||||
if [ "${INPUT_WRITE_CHANGES:-false}" == "true" ]; then
|
||||
ARGS+=" --write-changes"
|
||||
fi
|
||||
|
||||
# Use a custom configuration file
|
||||
if [[ -n "${INPUT_CONFIG:-}" ]]; then
|
||||
ARGS+=" --config ${INPUT_CONFIG}"
|
||||
|
||||
Reference in new issue
Block a user