diff --git a/README.md b/README.md index e83039a..07dbf82 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ The following is an extended example with all available options. skip_checkout: true # Optional. Skip internal call to `git push` + skip_push: true # Optional. Prevents the shell from expanding filenames. # Details: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index b9d004d..9e39f7e 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -364,8 +364,7 @@ cat_github_output() { assert_line "::debug::git-push will not be executed." - # Assert that the commit has been pushed with --force and - # sha values are not equal on local and remote + # Assert that the sha values are not equal on local and remote current_sha="$(git rev-parse --verify --short ${FAKE_DEFAULT_BRANCH})" remote_sha="$(git rev-parse --verify --short origin/${FAKE_DEFAULT_BRANCH})"