Add skip_dirty_check option

This commit is contained in:
Stefan Zweifel
2020-06-25 20:18:20 +02:00
parent 984a26d893
commit 4ebfe28af0
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ set -eu
_main() {
_switch_to_repository
if _git_is_dirty; then
if _git_is_dirty || [ -n "$INPUT_SKIP_DIRTY_CHECK" ]; then
echo "::set-output name=changes_detected::true";