forgejo/modules/actions
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
..
github.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
github_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
job_parser.go chore(refactor): move actions_service.jobParser to actions_module.jobParser 2025-11-06 07:28:16 +01:00
job_parser_test.go chore(refactor): move actions_service.jobParser to actions_module.jobParser 2025-11-06 07:28:16 +01:00
log.go chore: use code.forgejo.org/forgejo/actions-proto (#9981) 2025-11-05 16:10:52 +01:00
task_state.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
task_state_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
workflows.go chore(refactor): replace ifNeedApproval with trust management 2025-11-06 11:07:39 +01:00
workflows_test.go [gitea] week 2025-22 cherry pick (gitea/main -> forgejo) (#8198) 2025-06-17 18:28:07 +02:00