Add skip_fetch input option

This new option will allow users to skip the execution of `git fetch` if it has a negative impact in their workflows.

In a future PR I will probably remove the call to git-fetch interely. It was added in #108 in relation to a problem with slashes in branch names. That problem wasn't properly fixed though.
This commit is contained in:
Stefan Zweifel
2020-12-13 09:31:16 +01:00
parent fafea853e8
commit a9021d5359
3 changed files with 24 additions and 1 deletions

View File

@@ -48,6 +48,10 @@ inputs:
description: Skip the check if the git repository is dirty and always try to create a commit.
required: false
default: false
skip_fetch:
description: Skip the call to git-fetch.
required: false
default: false
outputs:
changes_detected: