run: export also ref type environment variable to runs

This commit is contained in:
Simone Gotti 2020-03-05 16:31:58 +01:00
parent ebf1bdc940
commit 7094de908b
1 changed files with 1 additions and 0 deletions

View File

@ -418,6 +418,7 @@ func (h *ActionHandler) CreateRuns(ctx context.Context, req *CreateRunRequest) e
"AGOLA_GIT_BRANCH": req.Branch,
"AGOLA_GIT_TAG": req.Tag,
"AGOLA_PULL_REQUEST_ID": req.PullRequestID,
"AGOLA_GIT_REF_TYPE": string(req.RefType),
"AGOLA_GIT_REF": req.Ref,
"AGOLA_GIT_COMMITSHA": req.CommitSHA,
}