Update Tests

This commit is contained in:
Stefan Zweifel
2025-09-17 14:08:26 +02:00
parent d330c718ba
commit 9a4902607d
2 changed files with 272 additions and 55 deletions

View File

@@ -124,6 +124,7 @@ _switch_to_branch() {
if "$INPUT_SKIP_FETCH"; then
_log "debug" "git-fetch will not be executed.";
else
_log "debug" "git-fetch will be executed.";
git fetch --depth=1;
fi
@@ -131,6 +132,7 @@ _switch_to_branch() {
if "$INPUT_SKIP_CHECKOUT"; then
_log "debug" "git-checkout will not be executed.";
else
_log "debug" "git-checkout will be executed.";
# Create new local branch if `create_branch`-input is true
if "$INPUT_CREATE_BRANCH"; then
# shellcheck disable=SC2086