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