mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
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
This commit is contained in:
parent
3aab6f634f
commit
a55d257be1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue