Skip to content

Commit 8ddf02d

Browse files
committed
Add git-auto-commit to warning text
1 parent e7955f7 commit 8ddf02d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ _log() {
2828

2929
_main() {
3030
if "$INPUT_SKIP_FETCH"; then
31-
_log "warning" "skip_fetch has been removed in v6. It does not have any effect anymore.";
31+
_log "warning" "git-auto-commit: skip_fetch has been removed in v6. It does not have any effect anymore.";
3232
fi
3333

3434
if "$INPUT_SKIP_CHECKOUT"; then
35-
_log "warning" "skip_checkout has been removed in v6. It does not have any effect anymore.";
35+
_log "warning" "git-auto-commit: skip_checkout has been removed in v6. It does not have any effect anymore.";
3636
fi
3737

3838
if "$INPUT_CREATE_BRANCH"; then
39-
_log "warning" "create_branch has been removed in v6. It does not have any effect anymore.";
39+
_log "warning" "git-auto-commit: create_branch has been removed in v6. It does not have any effect anymore.";
4040
fi
4141

4242
_check_if_git_is_available

tests/git-auto-commit.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ END
11761176

11771177
assert_success
11781178

1179-
assert_line "::warning::skip_fetch has been removed in v6. It does not have any effect anymore."
1180-
assert_line "::warning::skip_checkout has been removed in v6. It does not have any effect anymore."
1181-
assert_line "::warning::create_branch has been removed in v6. It does not have any effect anymore."
1179+
assert_line "::warning::git-auto-commit: skip_fetch has been removed in v6. It does not have any effect anymore."
1180+
assert_line "::warning::git-auto-commit: skip_checkout has been removed in v6. It does not have any effect anymore."
1181+
assert_line "::warning::git-auto-commit: create_branch has been removed in v6. It does not have any effect anymore."
11821182
}

0 commit comments

Comments
 (0)