diff --git a/skills/gitea/SKILL.md b/skills/gitea/SKILL.md index 447ee34..0a9a8f1 100644 --- a/skills/gitea/SKILL.md +++ b/skills/gitea/SKILL.md @@ -144,16 +144,22 @@ tea issues -r owner/repo # Specify repo directly - Use `--remote gitea` when you have multiple remotes (e.g., origin + gitea) - The `tea pulls checkout` command is handy for reviewing PRs locally -## Actions (API only) - -Note: `tea` CLI does not yet support actions/CI commands. Use the Gitea API directly: +## Actions / CI ```bash # List workflow runs -curl -H "Authorization: token $TOKEN" \ - "https://git.flowmade.one/api/v1/repos/{owner}/{repo}/actions/runs" +tea actions runs # List all workflow runs +tea actions runs -o json # JSON output for parsing + +# List jobs for a run +tea actions jobs # Show jobs for a specific run +tea actions jobs -o json # JSON output # Get job logs -curl -H "Authorization: token $TOKEN" \ - "https://git.flowmade.one/api/v1/repos/{owner}/{repo}/actions/jobs/{job_id}/logs" +tea actions logs # Display logs for a job + +# Full workflow: find failed job logs +tea actions runs # Find the run ID +tea actions jobs # Find the job ID +tea actions logs # View the logs ```