diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-12-15 13:38:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 05:38:39 +0800 |
commit | 42090844ed2de5e615abc6ece351c152d3344295 (patch) | |
tree | cfd076247b3692a48b82d3af5ea6a5057cf14f59 /models | |
parent | c8ea41b049c887794e4dd87b690b3031b98458b9 (diff) | |
download | gitea-42090844ed2de5e615abc6ece351c152d3344295.tar.gz gitea-42090844ed2de5e615abc6ece351c152d3344295.zip |
Fix bug on action list deleted branch (#32848)
Fix
https://github.com/go-gitea/gitea/issues/32761#issuecomment-2540946064
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'models')
-rw-r--r-- | models/fixtures/action_run.yml | 19 | ||||
-rw-r--r-- | models/fixtures/branch.yml | 12 |
2 files changed, 31 insertions, 0 deletions
diff --git a/models/fixtures/action_run.yml b/models/fixtures/action_run.yml index 0747c46d2f..1db849352f 100644 --- a/models/fixtures/action_run.yml +++ b/models/fixtures/action_run.yml @@ -55,3 +55,22 @@ 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" + is_fork_pull_request: 0 + status: 1 + started: 1683636528 + stopped: 1683636626 + created: 1683636108 + updated: 1683636626 + need_approval: 0 + approved_by: 0 diff --git a/models/fixtures/branch.yml b/models/fixtures/branch.yml index c7bdff7733..17b1869ab6 100644 --- a/models/fixtures/branch.yml +++ b/models/fixtures/branch.yml @@ -81,3 +81,15 @@ is_deleted: false deleted_by_id: 0 deleted_unix: 0 + +- + id: 15 + repo_id: 4 + name: 'master' + commit_id: 'c7cd3cd144e6d23c9d6f3d07e52b2c1a956e0338' + commit_message: 'add Readme' + commit_time: 1588147171 + pusher_id: 13 + is_deleted: false + deleted_by_id: 0 + deleted_unix: 0 |