feat: add flag to always run the checkout action (#1049)

act has a feature that skips the checkout action to do a remote
checkout when a local checkout exists. in some cases, e.g. when
running act in a CI, you always want to clone the repository.
This commit is contained in:
Robert Kowalski
2022-03-21 12:23:06 +01:00
committed by GitHub
parent 4d7107161e
commit f09cdb8443
5 changed files with 9 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ type Input struct {
artifactServerPath string
artifactServerPort string
jsonLogger bool
noSkipCheckout bool
}
func (i *Input) resolve(path string) string {