mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-13 22:40:24 +00: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
16 lines
288 B
YAML
16 lines
288 B
YAML
-
|
|
id: 8000
|
|
repo_id: 10
|
|
index: 1000
|
|
poster_id: 1 # admin
|
|
original_author_id: 0
|
|
name: pr8000
|
|
content: pull request 8000
|
|
milestone_id: 0
|
|
priority: 0
|
|
is_closed: false
|
|
is_pull: true
|
|
num_comments: 0
|
|
created_unix: 946684820
|
|
updated_unix: 978307180
|
|
is_locked: false
|