We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 984a26d + c8ded28 commit c9eb213Copy full SHA for c9eb213
action.yml
@@ -43,6 +43,10 @@ inputs:
43
description: Push options (eg. --force)
44
required: false
45
default: ''
46
+ skip_dirty_check:
47
+ description: Skip the check if the git repository is dirty and always try to create a commit.
48
+ required: false
49
+ default: false
50
51
outputs:
52
changes_detected:
entrypoint.sh
@@ -5,7 +5,7 @@ set -eu
5
_main() {
6
_switch_to_repository
7
8
- if _git_is_dirty; then
+ if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
9
10
echo "::set-output name=changes_detected::true";
11
0 commit comments