Merge pull request #231 from sgotti/run_export_also_ref_type_environment_variable_to_runs
run: export also ref type environment variable to runs
This commit is contained in:
commit
714e561c75
|
@ -418,6 +418,7 @@ func (h *ActionHandler) CreateRuns(ctx context.Context, req *CreateRunRequest) e
|
||||||
"AGOLA_GIT_BRANCH": req.Branch,
|
"AGOLA_GIT_BRANCH": req.Branch,
|
||||||
"AGOLA_GIT_TAG": req.Tag,
|
"AGOLA_GIT_TAG": req.Tag,
|
||||||
"AGOLA_PULL_REQUEST_ID": req.PullRequestID,
|
"AGOLA_PULL_REQUEST_ID": req.PullRequestID,
|
||||||
|
"AGOLA_GIT_REF_TYPE": string(req.RefType),
|
||||||
"AGOLA_GIT_REF": req.Ref,
|
"AGOLA_GIT_REF": req.Ref,
|
||||||
"AGOLA_GIT_COMMITSHA": req.CommitSHA,
|
"AGOLA_GIT_COMMITSHA": req.CommitSHA,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue