Install
openclaw skills install forgejoInteract with Forgejo using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.
openclaw skills install forgejoUse the tea CLI to interact with Forgejo instances. The tea CLI is compatible with Forgejo.
List open pull requests:
tea pulls --repo owner/repo
Check details of a PR:
tea pr 55 --repo owner/repo
List open issues:
tea issues --repo owner/repo
View an issue:
tea issue 123 --repo owner/repo
List repository secrets:
tea actions secrets list --repo owner/repo
List repository variables:
tea actions variables list --repo owner/repo
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'
To use tea with a specific Forgejo instance, you first need to add a login:
tea login add --name my-forgejo --url https://forgejo.example.com --token <your-token>
Then you can use --login my-forgejo in your commands:
tea pulls --repo owner/repo --login my-forgejo
List all configured logins:
tea logins