Add support for changing the GITHUB_ACTOR (#229)

This adds the `-a` flag when running `act` to change the username of the GITHUB_ACTOR environment variable

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Michael Heap
2020-05-12 08:14:56 +01:00
committed by GitHub
parent a149cf8ca2
commit a5e86bd024
4 changed files with 11 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ import (
// Input contains the input for the root command
type Input struct {
actor string
workdir string
workflowsPath string
eventPath string