From a55d257be14aa0320d78b26a473908528fb36e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cat=E2=84=A2?= Date: Fri, 15 Jan 2021 05:21:44 +0000 Subject: [PATCH] Update parts of repo (#476) * Update flags in README * Add secrets and `.env` files examples * Fix typo: environment * Fix typo: returned * Add --version back, since I've built act without ldflags --- act/runner/run_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index 6c99e6f1..a7de6426 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -296,7 +296,7 @@ func (rc *RunContext) EvalBool(expr string) (bool, error) { interpolatedPart, isString := rc.ExprEval.InterpolateWithStringCheck(part) // This peculiar transformation has to be done because the Github parser - // treats false retured from contexts as a string, not a boolean. + // treats false returned from contexts as a string, not a boolean. // Hence env.SOMETHING will be evaluated to true in an if: expression // regardless if SOMETHING is set to false, true or any other string. // It also handles some other weirdness that I found by trial and error.