Update gitea skill with native tea actions commands
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -144,16 +144,22 @@ tea issues -r owner/repo # Specify repo directly
|
|||||||
- Use `--remote gitea` when you have multiple remotes (e.g., origin + gitea)
|
- Use `--remote gitea` when you have multiple remotes (e.g., origin + gitea)
|
||||||
- The `tea pulls checkout` command is handy for reviewing PRs locally
|
- The `tea pulls checkout` command is handy for reviewing PRs locally
|
||||||
|
|
||||||
## Actions (API only)
|
## Actions / CI
|
||||||
|
|
||||||
Note: `tea` CLI does not yet support actions/CI commands. Use the Gitea API directly:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# List workflow runs
|
# List workflow runs
|
||||||
curl -H "Authorization: token $TOKEN" \
|
tea actions runs # List all workflow runs
|
||||||
"https://git.flowmade.one/api/v1/repos/{owner}/{repo}/actions/runs"
|
tea actions runs -o json # JSON output for parsing
|
||||||
|
|
||||||
|
# List jobs for a run
|
||||||
|
tea actions jobs <run-id> # Show jobs for a specific run
|
||||||
|
tea actions jobs <run-id> -o json # JSON output
|
||||||
|
|
||||||
# Get job logs
|
# Get job logs
|
||||||
curl -H "Authorization: token $TOKEN" \
|
tea actions logs <job-id> # Display logs for a job
|
||||||
"https://git.flowmade.one/api/v1/repos/{owner}/{repo}/actions/jobs/{job_id}/logs"
|
|
||||||
|
# Full workflow: find failed job logs
|
||||||
|
tea actions runs # Find the run ID
|
||||||
|
tea actions jobs <run-id> # Find the job ID
|
||||||
|
tea actions logs <job-id> # View the logs
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user