forked from Gitlink/gitlink-cli
Wraps the v1 actions API (Api::V1::Projects::Actions): - action +list: workflow files under .gitea/workflows - action +runs -w <file>: paginated run history of a workflow - action +run -w <file> -r <ref>: trigger a run - action +rerun / +job-rerun: rerun a whole run or a single job - action +enable / +disable -w <file>: per-workflow toggle (the server requires the workflow param; omitting it errors) Production-verified: list, runs, trigger (new run appeared in history), and disable/enable round-trip. Rerun endpoints surface the server message verbatim when gitea-hat rejects the rerun. 6 unit tests, README section, and bilingual i18n keys. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cmd/check | ||
| locales | ||
| schema | ||
| args.go | ||
| doc.go | ||
| loader.go | ||
| locale.go | ||
| locale_test.go | ||
| options.go | ||
| resolver.go | ||
| resolver_test.go | ||
| template.go | ||
| template_test.go | ||
| translator.go | ||
| translator_test.go | ||
| validate.go | ||
| validate_test.go | ||