You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WorkflowIDstring`xorm:"index"`// the name of workflow file
36
-
Indexint64`xorm:"index unique(repo_index)"`// a unique number for each run of a repository
37
-
TriggerUserIDint64`xorm:"index"`
38
-
TriggerUser*user_model.User`xorm:"-"`
39
-
ScheduleIDint64
40
-
Refstring`xorm:"index"`// the commit/tag/… that caused the run
41
-
IsRefDeletedbool`xorm:"-"`
42
-
CommitSHAstring
43
-
IsForkPullRequestbool// If this is triggered by a PR from a forked repository or an untrusted user, we need to check if it is approved and limit permissions when running the workflow.
44
-
NeedApprovalbool// may need approval if it's a fork pull request
45
-
ApprovedByint64`xorm:"index"`// who approved
46
-
Event webhook_module.HookEventType// the webhook event that causes the workflow to run
47
-
EventPayloadstring`xorm:"LONGTEXT"`
48
-
TriggerEventstring// the trigger event defined in the `on` configuration of the triggered workflow
49
-
StatusStatus`xorm:"index"`
50
-
Versionint`xorm:"version default 0"`// Status could be updated concomitantly, so an optimistic lock is needed
WorkflowIDstring`xorm:"index"`// the name of workflow file
36
+
Indexint64`xorm:"index unique(repo_index)"`// a unique number for each run of a repository
37
+
TriggerUserIDint64`xorm:"index"`
38
+
TriggerUser*user_model.User`xorm:"-"`
39
+
ScheduleIDint64
40
+
Refstring`xorm:"index"`// the commit/tag/… that caused the run
41
+
IsRefDeletedbool`xorm:"-"`
42
+
CommitSHAstring
43
+
IsForkPullRequestbool// If this is triggered by a PR from a forked repository or an untrusted user, we need to check if it is approved and limit permissions when running the workflow.
44
+
NeedApprovalbool// may need approval if it's a fork pull request
45
+
ApprovedByint64`xorm:"index"`// who approved
46
+
Event webhook_module.HookEventType// the webhook event that causes the workflow to run
47
+
EventPayloadstring`xorm:"LONGTEXT"`
48
+
TriggerEventstring// the trigger event defined in the `on` configuration of the triggered workflow
49
+
StatusStatus`xorm:"index"`
50
+
Versionint`xorm:"version default 0"`// Status could be updated concomitantly, so an optimistic lock is needed
0 commit comments