codeberg
Interact with Codeberg using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Codeberg Skill
Use the tea CLI to interact with Codeberg. Codeberg is a Forgejo instance, and the tea CLI is fully compatible with it.
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 Codeberg, you first need to add your login:
tea login add --name codeberg --url https://codeberg.org --token <your-token>
Then you can use --login codeberg in your commands:
tea pulls --repo owner/repo --login codeberg
List all configured logins:
tea logins
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!