add run_attempt

This commit is contained in:
Zettat123 committed 2025-01-08 10:32:47 +08:00
1 parent b5f901b2d9
commit 3324c791ec
1 file changed
+1
+1
View File
@@ -144,6 +144,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
Event: taskContext["event"].GetStructValue().AsMap(),
RunID: taskContext["run_id"].GetStringValue(),
RunNumber: taskContext["run_number"].GetStringValue(),
RunAttempt: taskContext["run_attempt"].GetStringValue(),
Actor: taskContext["actor"].GetStringValue(),
Repository: taskContext["repository"].GetStringValue(),
EventName: taskContext["event_name"].GetStringValue(),