Skip to content

Commit 77801ce

Browse files
Emit warning if deprecated/removed options are used
1 parent 2f225c1 commit 77801ce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

entrypoint.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ _log() {
2727
}
2828

2929
_main() {
30+
if "$INPUT_SKIP_FETCH"; then
31+
_log "warning" "skip_fetch has been removed in v6. It does not have any effect anymore.";
32+
fi
33+
34+
if "$INPUT_SKIP_CHECKOUT"; then
35+
_log "warning" "skip_checkout has been removed in v6. It does not have any effect anymore.";
36+
fi
37+
38+
if "$INPUT_CREATE_BRANCH"; then
39+
_log "warning" "create_branch has been removed in v6. It does not have any effect anymore.";
40+
fi
41+
3042
_check_if_git_is_available
3143

3244
_switch_to_repository

0 commit comments

Comments
 (0)