forgejo/services/actions/TestActionsTrust_GetPullRequestUserIsTrustedWithActions
Earl Warren e6522c1ecc
feat: trust management for runs created from a forked pull request
- UpdateTrustedWithPullRequest - cancels or approves runs and keep
  track of posters that are to always be trusted
- GetPullRequestUserIsTrustedWithActions - logic to determine
  if a user is to be implicitly trusted (e.g. the admin of the
  instance), explicitly trusted (i.e. it is in the ActionUser table)
  or not at all.
- PullRequestCancel & PullRequestApprove will either cancel or approve
  all runs of a given pull request.
- RevokeTrust is almost the same as PullRequestCancel
  except it operates as if revoking all pull
  requests of a given poster, cancelling ongoing jobs. This is
  expected to be used when blocking a user.
- AlwaysTrust is almost the same as PullRequestApprove
  except it operates as if allways approving all pull requests
  of a given poster, switching their jobs to waiting.
- SetRunTrustForPullRequest helper to set the fields of ActionRun
- CleanupActionUser - get rid of unused trust records
2025-11-06 11:07:38 +01:00
..
action_user.yml feat: trust management for runs created from a forked pull request 2025-11-06 11:07:38 +01:00
issue.yml feat: trust management for runs created from a forked pull request 2025-11-06 11:07:38 +01:00
pull_request.yml feat: trust management for runs created from a forked pull request 2025-11-06 11:07:38 +01:00
repo_unit.yml feat: trust management for runs created from a forked pull request 2025-11-06 11:07:38 +01:00