mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-03 20:51:07 -05:00
What previously handled by ifNeedApproval is replaced with two calls implemented in trust.go: - getPullRequestCommitAndApproval when workflows are collected and before runs are generated from them, figure out if - they need approval - they should run from the base or the head - setRunTrustForPullRequest when a pull request run is created from a detected workflow, set the information it will need for trust management
12 lines
230 B
YAML
12 lines
230 B
YAML
-
|
|
id: 3000
|
|
type: 0 # pull request
|
|
status: 2 # mergeable
|
|
issue_id: 8000
|
|
index: 1000
|
|
head_repo_id: 11
|
|
base_repo_id: 10
|
|
head_branch: branch3000
|
|
base_branch: master
|
|
merge_base: 0abcb056019adb83
|
|
has_merged: false
|