feat(cmd/joj3): remove triggering actor for teapot [force build]
This commit is contained in:
parent
9845518d9a
commit
23d586634a
2
cmd/joj3/env/env.go
vendored
2
cmd/joj3/env/env.go
vendored
|
@ -10,7 +10,6 @@ type Attribute struct {
|
|||
ConfName string
|
||||
RunID string
|
||||
Actor string
|
||||
TriggeringActor string
|
||||
Repository string
|
||||
Sha string
|
||||
Ref string
|
||||
|
@ -34,7 +33,6 @@ func init() {
|
|||
combined ^= (combined << 16)
|
||||
Attr.RunID = fmt.Sprintf("%08X", combined&0xFFFFFFFF)
|
||||
Attr.Actor = os.Getenv("GITHUB_ACTOR")
|
||||
Attr.TriggeringActor = os.Getenv("GITHUB_TRIGGERING_ACTOR")
|
||||
Attr.Repository = os.Getenv("GITHUB_REPOSITORY")
|
||||
Attr.Sha = os.Getenv("GITHUB_SHA")
|
||||
Attr.Ref = os.Getenv("GITHUB_REF")
|
||||
|
|
|
@ -58,7 +58,7 @@ func Run(conf *conf.Conf) (teapotResult TeapotResult, err error) {
|
|||
env.Attr.Actor, conf.Teapot.GradingRepoName, repoName,
|
||||
env.Attr.RunNumber, conf.Teapot.ScoreboardPath,
|
||||
conf.Teapot.FailedTablePath,
|
||||
conf.Name, env.Attr.Sha, env.Attr.RunID, env.Attr.TriggeringActor,
|
||||
conf.Name, env.Attr.Sha, env.Attr.RunID,
|
||||
"--max-total-score", strconv.Itoa(conf.MaxTotalScore),
|
||||
skipIssueArg, skipScoreboardArg,
|
||||
skipFailedTableArg, submitterInIssueTitleArg,
|
||||
|
|
Loading…
Reference in New Issue
Block a user