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 <[email protected]>
This commit is contained in:
Michael HeapandCasey Lee authored and GitHub committed 2020-05-12 00:14:56 -07:00
1 parent a149cf8ca2
commit a5e86bd024
4 files changed
+11 -1

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ type Runner interface {
// Config contains the config for a new runner
type Config struct {
Actor string // the user that triggered the event
Workdir string // path to working directory
BindWorkdir bool // bind the workdir to the job container
EventName string // name of event to run