code.gitea.io/gitea@v1.22.3/models/fixtures/pull_request.yml (about) 1 - 2 id: 1 3 type: 0 # gitea pull request 4 status: 2 # mergeable 5 issue_id: 2 6 index: 2 7 head_repo_id: 1 8 base_repo_id: 1 9 head_branch: branch1 10 base_branch: master 11 merge_base: 4a357436d925b5c974181ff12a994538ddc5a269 12 merged_commit_id: 1a8823cd1a9549fde083f992f6b9b87a7ab74fb3 13 has_merged: true 14 merger_id: 2 15 16 - 17 id: 2 18 type: 0 # gitea pull request 19 status: 2 # mergeable 20 issue_id: 3 21 index: 3 22 head_repo_id: 1 23 base_repo_id: 1 24 head_branch: branch2 25 base_branch: master 26 merge_base: 4a357436d925b5c974181ff12a994538ddc5a269 27 has_merged: false 28 29 - 30 id: 3 31 type: 0 # gitea pull request 32 status: 2 # mergeable 33 issue_id: 8 34 index: 1 35 head_repo_id: 11 36 base_repo_id: 10 37 head_branch: branch2 38 base_branch: master 39 merge_base: 0abcb056019adb83 40 has_merged: false 41 42 - 43 id: 4 44 type: 0 # gitea pull request 45 status: 2 # mergeable 46 issue_id: 9 47 index: 1 48 head_repo_id: 48 49 base_repo_id: 48 50 head_branch: branch1 51 base_branch: master 52 merge_base: abcdef1234567890 53 has_merged: false 54 55 - 56 id: 5 # this PR is outdated (one commit behind branch1 ) 57 type: 0 # gitea pull request 58 status: 2 # mergeable 59 issue_id: 11 60 index: 5 61 head_repo_id: 1 62 base_repo_id: 1 63 head_branch: pr-to-update 64 base_branch: branch2 65 merge_base: 985f0301dba5e7b34be866819cd15ad3d8f508ee 66 has_merged: false 67 68 - 69 id: 6 70 type: 0 # gitea pull request 71 status: 2 # mergeable 72 issue_id: 12 73 index: 2 74 head_repo_id: 3 75 base_repo_id: 3 76 head_branch: test_branch 77 base_branch: master 78 merge_base: 2a47ca4b614a9f5a 79 has_merged: false 80 81 - 82 id: 7 83 type: 0 # gitea pull request 84 status: 2 # mergeable 85 issue_id: 19 86 index: 1 87 head_repo_id: 58 88 base_repo_id: 58 89 head_branch: branch1 90 base_branch: main 91 merge_base: cbff181af4c9c7fee3cf6c106699e07d9a3f54e6 92 has_merged: false 93 94 - 95 id: 8 96 type: 0 # gitea pull request 97 status: 2 # mergeable 98 issue_id: 20 99 index: 1 100 head_repo_id: 23 101 base_repo_id: 23 102 103 - 104 id: 9 105 type: 0 # gitea pull request 106 status: 2 # mergeable 107 issue_id: 21 108 index: 1 109 head_repo_id: 60 110 base_repo_id: 60 111 112 - 113 id: 10 114 type: 0 # gitea pull request 115 status: 2 # mergeable 116 issue_id: 22 117 index: 1 118 head_repo_id: 61 119 base_repo_id: 61