Bo-Yi Wu
84ecd16f9c
fix(deps): update Go dependencies to latest versions ( #955 )
...
## Summary
- Upgrade all Go module dependencies to their latest versions
- Includes updates to charm.land, golang.org/x, goldmark, go-crypto, and other indirect dependencies
- Project builds cleanly with all updates
## Test plan
- [x] `go build ./...` passes
- [x] CI pipeline passes
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Reviewed-on: https://gitea.com/gitea/tea/pulls/955
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-04-10 01:40:40 +00:00
Bo-Yi Wu
53e53e1067
feat(workflows): add dispatch, view, enable and disable subcommands ( #952 )
...
## Summary
- Add `tea actions workflows dispatch` to trigger `workflow_dispatch` events with `--ref`, `--input key=value`, and `--follow` for log tailing
- Add `tea actions workflows view` to show workflow details
- Add `tea actions workflows enable` and `disable` to toggle workflow state
- Rewrite `workflows list` to use the Workflow API instead of file listing
- Remove dead `WorkflowsList` print function that used `ContentsResponse`
- Update `CLI.md` and `example-workflows.md` with usage documentation and examples
## Motivation
Enable re-triggering specific workflows from the CLI, which is essential for AI-driven PR flows where a specific workflow needs to be re-run after pushing changes.
Leverages the 5 workflow API endpoints already supported by the Go SDK (v0.24.1) from go-gitea/gitea#33545 :
- `ListRepoActionWorkflows`
- `GetRepoActionWorkflow`
- `DispatchRepoActionWorkflow` (with `returnRunDetails` support)
- `EnableRepoActionWorkflow`
- `DisableRepoActionWorkflow`
## New commands
\`\`\`
tea actions workflows
├── list (rewritten to use Workflow API)
├── view <id> (new)
├── dispatch <id> (new)
├── enable <id> (new)
└── disable <id> (new)
\`\`\`
### Usage examples
\`\`\`bash
# Dispatch workflow on current branch
tea actions workflows dispatch deploy.yml
# Dispatch with specific ref and inputs
tea actions workflows dispatch deploy.yml --ref main --input env=staging --input version=1.2.3
# Dispatch and follow logs
tea actions workflows dispatch ci.yml --ref feature/my-pr --follow
# View workflow details
tea actions workflows view deploy.yml
# Enable/disable workflows
tea actions workflows enable deploy.yml
tea actions workflows disable deploy.yml --confirm
\`\`\`
## Test plan
- [x] `go build ./...` passes
- [x] `go test ./...` passes
- [x] `go vet ./...` passes
- [x] `make lint` — 0 issues
- [x] `make docs-check` — CLI.md is up to date
- [x] Manual test: `tea actions workflows list` shows workflows from API
- [x] Manual test: `tea actions workflows dispatch <workflow> --ref main` triggers a run
- [x] Manual test: `tea actions workflows view <workflow>` shows details
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/952
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-04-09 20:03:33 +00:00
Renovate Bot
0489d8c275
fix(deps): update module golang.org/x/sys to v0.43.0 ( #951 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/951
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-04-09 14:16:37 +00:00
Nicolas
f538c05282
refactor: code cleanup across codebase ( #947 )
...
## Summary
- Extract duplicate \`getReleaseByTag\` into shared \`cmd/releases/utils.go\`
- Replace \`log.Fatal\` calls with proper error returns in config and login commands; \`GetLoginByToken\`/\`GetLoginsByHost\`/\`GetLoginByHost\` now return errors
- Remove dead \`portChan\` channel in \`modules/auth/oauth.go\`
- Fix YAML integer detection to use \`strconv.ParseInt\` (correctly handles negatives and large ints)
- Fix \`path.go\` error handling to use \`errors.As\` + \`syscall.ENOTDIR\` instead of string comparison
- Extract repeated credential helper key into local variable in \`SetupHelper\`
- Use existing \`isRemoteDeleted()\` in \`pull_clean.go\` instead of duplicating the logic
- Fix ~30 error message casing violations to follow Go conventions
- Use \`fmt.Errorf\` consistently instead of string concatenation in \`generic.go\`
Reviewed-on: https://gitea.com/gitea/tea/pulls/947
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Bo-Yi Wu (吳柏毅) <appleboy.tw@gmail.com >
Co-authored-by: Nicolas <bircni@icloud.com >
Co-committed-by: Nicolas <bircni@icloud.com >
2026-04-08 03:38:49 +00:00
Bo-Yi Wu
662e339bf9
feat(pulls): add resolve, unresolve and review-comments subcommands ( #948 )
...
## Summary
- Add `tea pulls review-comments <pull-index>` subcommand to list PR review comments with configurable fields (supports table/json/csv/yaml output)
- Add `tea pulls resolve <comment-id>` subcommand to mark a review comment as resolved
- Add `tea pulls unresolve <comment-id>` subcommand to unmark a review comment as resolved
- Follow existing approve/reject pattern with shared `runResolveComment` helper in `review_helpers.go`
## Usage
```bash
# List review comments for PR #42
tea pulls review-comments 42
# Resolve comment #789
tea pulls resolve 789
# Unresolve comment #789
tea pulls unresolve 789
# Custom output fields
tea pulls review-comments 42 --fields id,path,body,resolver --output json
```
## New Files
| File | Description |
|------|-------------|
| `cmd/pulls/review_comments.go` | `review-comments` subcommand |
| `cmd/pulls/resolve.go` | `resolve` subcommand |
| `cmd/pulls/unresolve.go` | `unresolve` subcommand |
| `modules/task/pull_review_comment.go` | Task layer: list, resolve, unresolve via SDK |
| `modules/print/pull_review_comment.go` | Print formatting with `printable` interface |
## Modified Files
| File | Description |
|------|-------------|
| `cmd/pulls.go` | Register 3 new commands |
| `cmd/pulls/review_helpers.go` | Add shared `runResolveComment` helper |
## Test Plan
- [x] `go build ./...` passes
- [x] `go vet ./...` passes
- [x] `tea pulls review-comments <PR-index>` lists comments with IDs
- [x] `tea pulls resolve <comment-id>` resolves successfully
- [x] `tea pulls unresolve <comment-id>` unresolves successfully
- [x] `--output json` produces valid JSON output
Reviewed-on: https://gitea.com/gitea/tea/pulls/948
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-04-08 03:36:09 +00:00
appleboy
5bb73667d1
docs: add v0.13.0 release notes to CHANGELOG ( #945 )
...
Add v0.13.0 release notes to CHANGELOG.md covering 21 commits since v0.12.0: 5 new features, 2 enhancements, and dependency updates.
Reviewed-on: https://gitea.com/gitea/tea/pulls/945
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: appleboy <appleboy.tw@gmail.com >
Co-committed-by: appleboy <appleboy.tw@gmail.com >
v0.13.0
2026-04-05 16:42:27 +00:00
appleboy
f329f6fab2
feat(pulls): add edit subcommand for pull requests ( #944 )
...
## Summary
- Add `tea pr edit` subcommand to support editing pull request properties (description, title, milestone, deadline, assignees, labels, reviewers)
- Add `--add-reviewers` / `--remove-reviewers` flags for managing PR reviewers via `CreateReviewRequests` / `DeleteReviewRequests` API
- Extract shared helpers (`ResolveLabelOpts`, `ApplyLabelChanges`, `ApplyReviewerChanges`, `ResolveMilestoneID`) into `modules/task/labels.go` to reduce duplication between issue and PR editing
- Refactor existing `EditIssue` to use the same shared helpers
- Wrap original error in `ResolveMilestoneID` to preserve underlying error context
## Usage
```bash
# Edit PR description
tea pr edit 1 --description "new description"
# Edit PR title
tea pr edit 1 --title "new title"
# Edit multiple fields
tea pr edit 1 --title "new title" --description "new desc" --add-labels "bug"
# Edit multiple PRs
tea pr edit 1 2 3 --add-assignees "user1"
# Add reviewers
tea pr edit 1 --add-reviewers "user1,user2"
# Remove reviewers
tea pr edit 1 --remove-reviewers "user1"
```
## Test plan
- [x] `go build .` succeeds
- [x] `go test ./...` passes
- [x] `make clean && make vet && make lint && make fmt-check && make docs-check && make build` all pass
- [x] `tea pr edit <idx> --description "test"` updates PR description on a Gitea instance
- [x] `tea pr edit <idx> --title "test"` updates PR title
- [x] `tea pr edit <idx> --add-labels "bug"` adds label
- [x] `tea pr edit <idx> --add-reviewers "user"` requests review
- [x] `tea pr edit <idx> --remove-reviewers "user"` removes reviewer
- [x] Existing `tea issues edit` still works correctly after refactor
Reviewed-on: https://gitea.com/gitea/tea/pulls/944
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: appleboy <appleboy.tw@gmail.com >
Co-committed-by: appleboy <appleboy.tw@gmail.com >
2026-04-05 05:35:15 +00:00
Renovate Bot
366069315f
fix(deps): update module github.com/go-git/go-git/v5 to v5.17.2 ( #943 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/943
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-04-01 18:14:14 +00:00
Renovate Bot
1e13681663
fix(deps): update module github.com/go-git/go-git/v5 to v5.17.1 ( #942 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/942
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-30 07:00:31 +00:00
Renovate Bot
bfbec3fc00
fix(deps): update module code.gitea.io/sdk/gitea to v0.24.1 ( #936 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/936
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-27 06:04:29 +00:00
Renovate Bot
e31a167e54
fix(deps): update module github.com/go-authgate/sdk-go to v0.6.1 ( #935 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/935
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-27 03:47:06 +00:00
Renovate Bot
6a7c3e4efa
fix(deps): update module github.com/urfave/cli/v3 to v3.8.0 ( #937 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/937
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-27 03:46:50 +00:00
techknowlogick
b05e03416b
replace log.Fatal/os.Exit with error returns ( #941 )
...
* Use stdlib encoders
* Reduce some duplication
* Remove global pagination state
* Dedupe JSON detail types
* Bump golangci-lint
Reviewed-on: https://gitea.com/gitea/tea/pulls/941
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-03-27 03:36:44 +00:00
Renovate Bot
21881525a8
chore(deps): update docker.gitea.com/gitea docker tag to v1.25.5 ( #934 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/934
Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-15 23:04:40 +00:00
Renovate Bot
9a462247bd
fix(deps): update module github.com/olekukonko/tablewriter to v1.1.4 ( #933 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/933
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-13 00:18:26 +00:00
Renovate Bot
5f74fb37df
chore(deps): update mcr.microsoft.com/devcontainers/go docker tag to v2.1 ( #930 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/930
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-12 17:13:25 +00:00
Bo-Yi Wu
ec658cfc33
chore(deps): update Go dependencies and CI workflow action versions ( #932 )
...
## Summary
- Run `go get -u ./...` and `go mod tidy` to update all Go dependencies
- Update CI workflow action versions:
- `crazy-max/ghaction-import-gpg`: v6 → v7
- `goreleaser/goreleaser-action`: v6 → v7
- `docker/setup-qemu-action`: v3 → v4
- `docker/setup-buildx-action`: v3 → v4
- `docker/login-action`: v3 → v4
- `docker/build-push-action`: v6 → v7
## Notable Go dependency updates
- `github.com/urfave/cli/v3`: v3.6.2 → v3.7.0
- `github.com/ProtonMail/go-crypto`: v1.3.0 → v1.4.0
- `charm.land/huh/v2`: v2.0.1 → v2.0.3
- `golang.org/x/crypto`: v0.48.0 → v0.49.0
- `golang.org/x/net`: v0.49.0 → v0.52.0
Reviewed-on: https://gitea.com/gitea/tea/pulls/932
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-03-12 05:28:47 +00:00
Bo-Yi Wu
cb9824b451
feat(repos): support owner-based repository listing with robust lookup ( #931 )
...
- Add an owner flag to the repos list command to list repositories for a specific user or organization
- Implement owner-based repository listing by detecting whether the owner is an organization or a user and calling the appropriate API
- Improve error handling for owner lookup by checking HTTP status codes instead of relying on error string matching
- Align repository search logic with the updated owner lookup behavior using HTTP response validation
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/931
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-03-12 04:22:28 +00:00
Bo-Yi Wu
a531faa626
feat(repos): add repo edit subcommand ( #928 )
...
## Summary
- Add `tea repo edit` subcommand to update repository properties via the Gitea API
- Support flags: `--name`, `--description`/`--desc`, `--website`, `--private`, `--template`, `--archived`, `--default-branch`
- Boolean-like flags use string type to distinguish "not set" from "false", following the pattern in `releases/edit.go`
## Test plan
- [x] `go build ./...` passes
- [x] `go vet ./...` passes
- [x] `tea repo edit --help` shows all flags correctly
- [x] Manual test: `tea repo edit --private true` on a test repo
- [x] Manual test: `tea repo edit --name new-name --description "new desc"` on a test repo
Reviewed-on: https://gitea.com/gitea/tea/pulls/928
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-03-12 03:06:44 +00:00
Bo-Yi Wu
302c946cb8
feat: store OAuth tokens in OS keyring via credstore ( #926 )
...
## Summary
- Introduce `github.com/go-authgate/sdk-go/credstore` to store OAuth tokens securely in the OS keyring (macOS Keychain / Linux Secret Service / Windows Credential Manager), with automatic fallback to an encrypted JSON file
- Add `AuthMethod` field to `Login` struct; new OAuth logins are marked `auth_method: oauth` and no longer write `token`/`refresh_token`/`token_expiry` to `config.yml`
- Add `GetAccessToken()` / `GetRefreshToken()` / `GetTokenExpiry()` accessors that transparently read from credstore for OAuth logins, with fallback to YAML fields for legacy logins
- Update all token reference sites across the codebase to use the new accessors
- Non-OAuth logins (token, SSH) are completely unaffected; no migration of existing tokens
## Key files
| File | Role |
|------|------|
| `modules/config/credstore.go` | **New** — credstore wrapper (Load/Save/Delete) |
| `modules/config/login.go` | Login struct, token accessors, refresh logic |
| `modules/auth/oauth.go` | OAuth flow, token creation / re-authentication |
| `modules/api/client.go`, `cmd/login/helper.go`, `cmd/login/oauth_refresh.go` | Token reference updates |
| `modules/task/pull_*.go`, `modules/task/repo_clone.go` | Git operation token reference updates |
## Test plan
- [x] `go build ./...` compiles successfully
- [x] `go test ./...` all tests pass
- [x] `tea login add --oauth` completes OAuth flow; verify config.yml has `auth_method: oauth` but no token/refresh_token/token_expiry
- [x] `tea repos ls` API calls work (token read from credstore)
- [x] `tea login delete <name>` credstore token is also removed
- [x] Existing non-OAuth logins continue to work unchanged
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Reviewed-on: https://gitea.com/gitea/tea/pulls/926
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com >
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2026-03-12 02:49:14 +00:00
techknowlogick
0346e1cbb5
add function comment
2026-03-10 10:00:39 -04:00
techknowlogick
cd4051ed38
make vet&fmt pass
2026-03-10 09:55:10 -04:00
Michal Suchanek
c797624fcf
Update to charm libraries v2 ( #923 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/923
Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com >
Co-authored-by: Michal Suchanek <msuchanek@suse.de >
Co-committed-by: Michal Suchanek <msuchanek@suse.de >
2026-03-09 16:36:00 +00:00
Renovate Bot
3372c9ec59
fix(deps): update module golang.org/x/oauth2 to v0.36.0 ( #919 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/919
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-09 16:19:28 +00:00
techknowlogick
1ac8492ac7
go 1.26
2026-03-09 15:57:54 +00:00
Renovate Bot
d019f0dd72
fix(deps): update module github.com/go-git/go-git/v5 to v5.17.0 ( #910 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/910
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-26 17:59:28 +00:00
techknowlogick
c031db2413
Parse multiple values in api subcommand ( #911 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-02-26 17:43:46 +00:00
Nikolaos Karaolidis
e3c550ff22
fix: authentication via env variables repo argument ( #809 )
...
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/809
Co-authored-by: Nikolaos Karaolidis <nick@karaolidis.com >
Co-committed-by: Nikolaos Karaolidis <nick@karaolidis.com >
v0.12.0
2026-02-19 19:23:44 +00:00
Lunny Xiao
fab70f83c1
Fix issue detail view ignoring --owner flag ( #899 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/899
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2026-02-19 18:57:23 +00:00
techknowlogick
0b1147bfc0
build for windows aarch64 too
2026-02-19 18:41:21 +00:00
Lunny Xiao
93d4d3cc55
Skip token uniqueness check when using SSH authentication ( #898 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-authored-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/898
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2026-02-19 15:19:45 +00:00
Alain Thiffault
bdf15a57be
feat(pulls): add JSON output support for single PR view ( #864 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/864
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Alain Thiffault <athiffau@effectivemomentum.com >
Co-committed-by: Alain Thiffault <athiffau@effectivemomentum.com >
2026-02-19 15:16:21 +00:00
Lunny Xiao
87c8c3d6e0
Fix new tty prompt ( #897 )
...
Fix #827
---------
Co-authored-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/897
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
2026-02-16 03:37:44 +00:00
Michal Suchanek
dfd400f15b
Fix termenv OSC RGBA handling ( #907 )
...
Fixes : #889
Reviewed-on: https://gitea.com/gitea/tea/pulls/907
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Michal Suchanek <msuchanek@suse.de >
Co-committed-by: Michal Suchanek <msuchanek@suse.de >
2026-02-12 16:16:53 +00:00
yousfi saad
2152d99f2d
Add tea actions runs and workflows commands ( #880 )
...
Implements comprehensive workflow execution tracking for Gitea Actions using tea CLI
## Features
### tea actions runs list
- List workflow runs with filtering (status, branch, event, actor, time)
- Time filters: relative (24h, 7d) and absolute dates
- Status symbols: ✓ success, ✘ failure, ⭮ pending, ⊘ skipped/cancelled, ⚠ blocked
- Multiple output formats: table, json, yaml, csv, tsv
### tea actions runs view
- View run details with metadata (ID, status, workflow, branch, event, trigger info)
- Shows jobs table with status, runner, duration
- Optional --jobs flag to toggle jobs display
### tea actions runs delete
- Delete/cancel workflow runs with confirmation prompt
- Supports --confirm/-y to skip prompt
### tea actions runs logs
- View job logs for all jobs or specific job (--job <id>)
- **New: --follow/-f flag for real-time log following** (like tail -f)
- Polls API every 2 seconds, only shows new content
- Auto-detects completion and exits
### tea actions workflows list
- List workflow files (.yml and .yaml) in repository
- Searches in .gitea/workflows and .github/workflows
- Shows active (✓) or inactive (✗) status based on recent runs
- Displays workflow name, path, and file size
## Commands
`tea actions runs list --status success --since 24h`
`tea actions runs view 123`
`tea actions runs delete 123 --confirm`
`tea actions runs logs 123 --job 456 --follow`
`tea actions workflows list`
## Tests
- 19 unit tests across all commands
- Full test suite passing
- Manual testing successful
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/880
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: yousfi saad <yousfi.saad@gmail.com >
Co-committed-by: yousfi saad <yousfi.saad@gmail.com >
2026-02-11 00:40:06 +00:00
Renovate Bot
ea795775af
fix(deps): update module golang.org/x/crypto to v0.48.0 ( #905 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/905
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-10 00:43:00 +00:00
Renovate Bot
1093ef1524
fix(deps): update module github.com/go-git/go-git/v5 to v5.16.5 ( #904 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/904
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-10 00:42:45 +00:00
Renovate Bot
873a44f897
fix(deps): update module golang.org/x/sys to v0.41.0 ( #901 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/901
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-09 05:22:44 +00:00
Renovate Bot
47f74ea696
fix(deps): update module golang.org/x/oauth2 to v0.35.0 ( #900 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/900
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-09 04:56:34 +00:00
Michal Suchanek
59656dfcd2
Require non-empty token in GetLoginByToken ( #895 )
...
Fixes : #893
Reviewed-on: https://gitea.com/gitea/tea/pulls/895
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Michal Suchanek <msuchanek@suse.de >
Co-committed-by: Michal Suchanek <msuchanek@suse.de >
2026-02-08 18:11:54 +00:00
Michal Suchanek
e644cc49d4
Revert "Login requires a http/https login URL and revmoe SSH as a login method. SSH will be optional ( #826 )" ( #891 )
...
This reverts commit 90f8624ae7 .
Fixes : #890
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/891
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Michal Suchanek <msuchanek@suse.de >
Co-committed-by: Michal Suchanek <msuchanek@suse.de >
2026-02-08 00:21:47 +00:00
boozedog
3595f8f89d
fixed minor typo and grammar issue ( #892 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/892
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: boozedog <boozedog@noreply.gitea.com >
Co-committed-by: boozedog <boozedog@noreply.gitea.com >
2026-02-07 16:02:20 +00:00
techknowlogick
49a9032d8a
Move versions/filelocker into dedicated subpackages, and consistent headers in http requests ( #888 )
...
- move filelocker logic into dedicated subpackage
- consistent useragent in requests
Reviewed-on: https://gitea.com/gitea/tea/pulls/888
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-02-05 18:05:43 +00:00
techknowlogick
982adb4d02
Update README.md
2026-02-04 19:37:39 +00:00
techknowlogick
29488a1f46
build w/ go1.25 ( #886 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/886
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-02-04 19:27:25 +00:00
Renovate Bot
a47ac265d2
chore(deps): update mcr.microsoft.com/devcontainers/go docker tag to v2 ( #884 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/884
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-04 00:56:27 +00:00
Renovate Bot
037d1aad23
fix(deps): update module github.com/charmbracelet/lipgloss to v2 ( #885 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/885
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-04 00:56:04 +00:00
Renovate Bot
e5342660fa
chore(deps): update actions/checkout action to v6 ( #882 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/882
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-04 00:16:06 +00:00
Renovate Bot
233ffe4508
chore(deps): update actions/setup-go action to v6 ( #883 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/883
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-04 00:15:53 +00:00
techknowlogick
ae9eb4f2c0
Add locking to ensure safe concurrent access to config file ( #881 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/881
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-02-03 23:48:18 +00:00