Gitea

v0.1.0

Interact with Gitea using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.

0· 1.1k· 1 versions· 1 current· 1 all-time· Updated 4h ago· MIT-0

Install

openclaw skills install gitea-2

Gitea Skill

Use the tea CLI to interact with Gitea instances. The tea CLI is the official command-line tool for Gitea.

Pull Requests

List open pull requests:

tea pulls --repo owner/repo

Check details of a PR:

tea pr 55 --repo owner/repo

Issues

List open issues:

tea issues --repo owner/repo

View an issue:

tea issue 123 --repo owner/repo

Actions (CI/CD)

List repository secrets:

tea actions secrets list --repo owner/repo

List repository variables:

tea actions variables list --repo owner/repo

API for Advanced Queries

The tea api command is useful for accessing data not available through other subcommands.

Get PR with specific fields (requires jq for filtering):

tea api repos/owner/repo/pulls/55 | jq '.title, .state, .user.login'

Logins

To use tea with a specific Gitea instance, you first need to add a login:

tea login add --name my-gitea --url https://gitea.example.com --token <your-token>

Then you can use --login my-gitea in your commands:

tea pulls --repo owner/repo --login my-gitea

List all configured logins:

tea logins

Version tags

latestvk973xrb0pvyerzm8cxw1q4jgan80v68z

Runtime requirements

🍵 Clawdis
Binstea

Install

Install Tea CLI (brew)
Bins: tea
brew install tea
Install Tea CLI (go)
Bins: tea
go install code.gitea.io/tea@latest