mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Simplify IF Condition
This commit is contained in:
parent
f120678ed1
commit
c8ded2885e
@ -5,7 +5,7 @@ set -eu
|
||||
_main() {
|
||||
_switch_to_repository
|
||||
|
||||
if _git_is_dirty || [ "$INPUT_SKIP_DIRTY_CHECK" = true ]; then
|
||||
if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
|
||||
|
||||
echo "::set-output name=changes_detected::true";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user