Don't set env.ACT
in act runner
#617
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The documentation for nektos act shows:
My workflow always runs the step in gitea actions:
Because of this line:
6cdf1e5788/pkg/runner/run_context.go (L85)
I'm running into this because I'm trying to use act to run my actions locally for testing and only commit working workflows to my repo. Since act and the action runner are based on the same codebase it wasn't hard to track down.
I tried adding the env to my
runner.yaml
file with no success:And adding it to my runner's
.env
also had no effect:Obviously, because act overwrites it no matter what it is