mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-26 07:56:17 +01:00
In #32562, I incorrectly assigned mismatched `repo_id` values to the `action_run` and `action_run_job` fixtures used in `TestActionsCollaborativeOwner`. The changes introduced in #36173 will cause the test to fail. This PR removes the incorrect fixtures and switches to using mock workflows to test the relevant functionality.
163 lines
3.2 KiB
YAML
163 lines
3.2 KiB
YAML
-
|
|
id: 791
|
|
title: "update actions"
|
|
repo_id: 4
|
|
owner_id: 1
|
|
workflow_id: "artifact.yaml"
|
|
index: 187
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/master"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 1
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
-
|
|
id: 792
|
|
title: "update actions"
|
|
repo_id: 4
|
|
owner_id: 1
|
|
workflow_id: "artifact.yaml"
|
|
index: 188
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/master"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 1
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
-
|
|
id: 793
|
|
title: "job output"
|
|
repo_id: 4
|
|
owner_id: 1
|
|
workflow_id: "test.yaml"
|
|
index: 189
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/master"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 6 # running
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
-
|
|
id: 794
|
|
title: "job output"
|
|
repo_id: 4
|
|
owner_id: 1
|
|
workflow_id: "test.yaml"
|
|
index: 190
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/test"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 1
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
-
|
|
id: 802
|
|
title: "workflow run list"
|
|
repo_id: 5
|
|
owner_id: 3
|
|
workflow_id: "test.yaml"
|
|
index: 191
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/test"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 1
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
-
|
|
id: 803
|
|
title: "workflow run list for user"
|
|
repo_id: 2
|
|
owner_id: 0
|
|
workflow_id: "test.yaml"
|
|
index: 192
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/test"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 1
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
|
|
-
|
|
id: 795
|
|
title: "to be deleted (test)"
|
|
repo_id: 2
|
|
owner_id: 2
|
|
workflow_id: "test.yaml"
|
|
index: 191
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/test"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 2
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|
|
|
|
-
|
|
id: 805
|
|
title: "update actions"
|
|
repo_id: 4
|
|
owner_id: 1
|
|
workflow_id: "artifact.yaml"
|
|
index: 191
|
|
trigger_user_id: 1
|
|
ref: "refs/heads/master"
|
|
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
|
|
event: "push"
|
|
trigger_event: "push"
|
|
is_fork_pull_request: 0
|
|
status: 5
|
|
started: 1683636528
|
|
stopped: 1683636626
|
|
created: 1683636108
|
|
updated: 1683636626
|
|
need_approval: 0
|
|
approved_by: 0
|