mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 06:25:32 +00:00
Add run_attempt to context (#126)
Fix https://github.com/go-gitea/gitea/issues/33135 Co-authored-by: Lunny Xiao <[email protected]> Reviewed-on: https://gitea.com/gitea/act/pulls/126 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Zettat123 <[email protected]> Co-committed-by: Zettat123 <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
Lunny Xiao
parent
34f68b3c18
commit
f56fd693ee
@@ -39,6 +39,9 @@ type GithubContext struct {
|
||||
ServerURL string `json:"server_url"`
|
||||
APIURL string `json:"api_url"`
|
||||
GraphQLURL string `json:"graphql_url"`
|
||||
|
||||
// For Gitea
|
||||
RunAttempt string `json:"run_attempt"`
|
||||
}
|
||||
|
||||
func asString(v interface{}) string {
|
||||
|
||||
Reference in New Issue
Block a user