generated from DevPlus1/Unity-Customer-Template
1.8 KiB
1.8 KiB
Workflows
validate.yml
Trigger
pushpull_request
Input
- current repository contents
Output
reports/errors.mdreports/generated-files.mdreports/customer-code-status.txt- Forgejo log summary
Success Conditions
tools/validate-code.shcompletedreports/errors.mdexists
Failure Conditions
- validation script crashed
reports/errors.mdwas not generated
Important Behavior
Customer code errors do not fail the workflow.
project-report.yml
Trigger
pushpull_request
Input
- current repository contents
- validation results when generated during the run
Output
reports/project-flow.mdreports/file-summary.mdreports/languages.mdreports/summary.mdreports/generated-files.md- optional
reports/errors.mdexcerpt in logs
Success Conditions
- report scripts completed
- required report files exist
Failure Conditions
- report script crashed
- required reports were not generated
Important Behavior
This workflow remains green when customer code errors are detected, as long as report generation succeeds.
code-docs.yml
Trigger
pushpull_request
Input
- current repository contents
Output
reports/api-reference.mdreports/file-purpose.mdreports/unity-scripts.mdreports/call-map.mdreports/code-docs-summary.md- updated
reports/generated-files.md - Forgejo log summary
Success Conditions
tools/generate-code-docs.shcompleted- all required code documentation reports exist
Failure Conditions
- documentation script crashed
- required code documentation reports were not generated
Important Behavior
Customer code problems do not fail this workflow. The workflow is read-only against customer source code and only writes markdown reports.