forgejo/services/actions/TestActionsNotifier_IsTrusted/pull_request.yml
Earl Warren 3fa7ceeb76
chore(refactor): replace ifNeedApproval with trust management
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
2025-11-06 11:07:39 +01:00

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