Skip to content

Commit 6f24b34

Browse files
committed
fix GenerateGiteaContext
1 parent de3ff52 commit 6f24b34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/actions/context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ func GenerateGiteaContext(run *actions_model.ActionRun, job *actions_model.Actio
8383

8484
if job != nil {
8585
gitContext["job"] = job.JobID
86-
gitContext["run_id"] = job.RunID
87-
gitContext["run_attempt"] = job.Attempt
86+
gitContext["run_id"] = fmt.Sprint(job.RunID)
87+
gitContext["run_attempt"] = fmt.Sprint(job.Attempt)
8888
}
8989

9090
return gitContext

0 commit comments

Comments
 (0)