how does generation of environment variables, event payloads and various contexts work? #2642
Unanswered
iamstarkov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to write a test for my GitHub action, which I want to be able to run locally, for that I need make env vars, payloads and context available. That reminded me of act, because you must have solved this problem in order to run arbitrary workflows. I looked into the code and found https://github.com/nektos/act/blob/master/pkg/model/github_context.go.
Does it mean you just generate from scratch and have to update every time GitHub adds new things to it?
Beta Was this translation helpful? Give feedback.
All reactions