Lunny Xiao
3815aad750
fix cleanup network
2026-05-19 16:39:51 -07:00
Lunny Xiao and Nicolas
5464d33eef
fix: Return if executors length is zero in ParallelExecutor ( #960 )
...
It displayed an unused log and start an unused go routine. We should check the executors number before continue.
```
INFO[2026-05-12T21:01:04-07:00] Running job with maxParallel=1 for 1 matrix combinations
INFO[2026-05-12T21:01:04-07:00] NewParallelExecutor: Creating 1 workers for 1 executors
INFO[2026-05-12T21:01:04-07:00] NewParallelExecutor: Creating 1 workers for 0 executors
INFO[2026-05-12T21:01:04-07:00] NewParallelExecutor: Creating 1 workers for 0 executors
```
Reviewed-on: https://gitea.com/gitea/runner/pulls/960
Reviewed-by: silverwind <[email protected] >
Reviewed-by: Nicolas <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2026-05-15 22:14:13 +00:00
Lunny Xiao
a7e972d8de
fix: respect proxy env vars in runner client ( #962 )
...
Fixes #957 .
## Why
The runner builds a custom `http.Transport` for its RPC client. From first principles, once we stop using the default transport we also stop inheriting its default proxy resolution behavior, so `HTTP_PROXY`/`HTTPS_PROXY` are ignored unless we wire that behavior back explicitly.
## What
- set `Proxy: http.ProxyFromEnvironment` on the custom transport
- add a regression test that verifies `getHTTPClient` honors proxy environment variables
Reviewed-on: https://gitea.com/gitea/runner/pulls/962
Reviewed-by: ChristopherHX <[email protected] >
2026-05-13 19:10:52 +00:00
Lunny Xiao and Nicolas
763b38ece3
fix: isolate per-task runner envs ( #959 )
...
## Summary
- clone the runner environment map for each task before injecting runtime and OIDC tokens
- keep the shared base environment immutable so concurrent jobs cannot hit `concurrent map writes`
- add a unit test covering task-local env cloning
Fixes #958
---------
Co-authored-by: Nicolas <[email protected] >
Reviewed-on: https://gitea.com/gitea/runner/pulls/959
Reviewed-by: Nicolas <[email protected] >
2026-05-12 18:50:25 +00:00
13dc9386fe
Rename act_runner to runner ( #850 )
...
## Consumer-facing breaking changes
- **Go module path**: `gitea.com/gitea/act_runner` → `gitea.com/gitea/runner`. Anything importing `act/...` or `internal/...` packages (notably Gitea itself) must update imports.
- **Binary name**: `act_runner` → `gitea-runner`. Wrapper scripts, systemd units, init scripts, and documentation referencing the binary by `act_runner` will break.
- **Docker image**: `gitea/act_runner` → `gitea/runner` (incl. `*-dind-rootless` variants). Users pulling `gitea/act_runner:nightly` etc. will get stale images. Note: the image name is `gitea/runner`, not `gitea/gitea-runner`.
- **Release artifact paths**: S3 directory `act_runner/{{.Version}}` → `gitea-runner/{{.Version}}`, and artifact filenames change with the new project name. Existing download URLs break.
- **Metrics namespace**: changed from `act_runner` to `gitea_runner` (e.g. `act_runner_jobs_total` → `gitea_runner_jobs_total`); existing monitors/dashboards must be updated.
- **ldflags version path**: `gitea.com/gitea/act_runner/internal/pkg/ver.version` → `gitea.com/gitea/runner/internal/pkg/ver.version`. Affects anyone building with custom ldflags.
- **Kubernetes example resource names**: `act-runner` / `act-runner-vol` → `runner` / `runner-vol`. Users who copied the manifests verbatim will see resource churn on apply.
- **s6 service name**: `scripts/s6/act_runner/` → `scripts/s6/gitea-runner/` (image-internal; only matters for downstream image overrides).
Unchanged: YAML config field names, env vars (`GITEA_*`), CLI flags/subcommands, registration file format.
---------
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/runner/pulls/850
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: silverwind <[email protected] >
Reviewed-by: Nicolas <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2026-04-30 20:12:51 +00:00
Lunny Xiao
b5c50bb3ab
upgrade go git
2026-04-23 14:38:25 -07:00
Lunny Xiao
90c1275f0e
Upgrade yaml ( #816 )
...
~wait https://gitea.com/gitea/act/pulls/157~
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/816
Reviewed-by: Zettat123 <[email protected] >
2026-03-28 16:18:47 +00:00
Lunny Xiao
3232358e71
downgrade yaml from rc.4 to rc.3 and upgrade action lint ( #158 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/158
Reviewed-by: Zettat123 <[email protected] >
2026-03-28 04:13:07 +00:00
Lunny Xiao
2e98baa34a
Upgrade yaml ( #157 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/157
Reviewed-by: Zettat123 <[email protected] >
2026-03-28 03:31:27 +00:00
Lunny Xiao
28740d7788
Upgrade go mod ( #154 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/154
Reviewed-by: silverwind <[email protected] >
2026-02-22 20:39:43 +00:00
Lunny Xiao
ddf9159a8f
Remove jobparser because of moving to Gitea main project ( #155 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/155
Reviewed-by: silverwind <[email protected] >
Reviewed-by: ChristopherHX <[email protected] >
2026-02-22 19:04:16 +00:00
Lunny Xiao
6b1aea9c04
Upgrade github.com/go-git/go-git/v5 to v5.16.2 ( #706 )
...
Fix #695
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/706
Reviewed-by: techknowlogick <[email protected] >
2025-06-11 17:59:35 +00:00
Lunny Xiao
4c8179ee12
upgrade to go1.24, act to 0.261.4 and actions-proto-go to 0.4.1 ( #662 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/662
Reviewed-by: ChristopherHX <[email protected] >
2025-03-01 20:18:36 +00:00
Lunny Xiao and Jason Song
b5f901b2d9
Upgrade act from v0.261.2 -> v0.261.3 ( #607 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/607
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-10-18 04:33:57 +00:00
Lunny Xiao
6cdf1e5788
Fix ParseRawOn sequence problem ( #119 )
...
Fix https://gitea.com/gitea/act/actions/runs/277/jobs/0
Reviewed-on: https://gitea.com/gitea/act/pulls/119
2024-10-05 19:29:55 +00:00
Lunny Xiao
ab381649da
Add parsing for workflow dispatch ( #118 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/118
2024-10-03 02:56:58 +00:00
Lunny Xiao and Jason Song
65ed62d2f5
Upgrade dependencies ( #537 )
...
Patially fix #513
Co-authored-by: Jason Song <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/537
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-04-11 04:36:00 +00:00
Lunny Xiao
c93462e19f
Merge pull request 'bump nektos to 0.2.52' ( #79 ) from bump-nektos into main
...
Reviewed-on: https://gitea.com/gitea/act/pulls/79
Reviewed-by: John Olheiser <[email protected] >
2023-10-13 01:20:21 +00:00
Lunny Xiao and Jason Song
c701ba4787
Add a quick start runner method in README ( #282 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/282
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-07-12 01:43:26 +00:00
Lunny Xiao
fcc016e9b3
Special the release tag signing sub key ( #121 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/121
2023-04-13 18:56:15 +08:00
Lunny Xiao and Jason Song
9e26208e13
Add signature for tag releases, upload to gitea releases itself ( #116 )
...
GPG signature keys are not set yet.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/116
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-04-13 16:49:50 +08:00
Lunny Xiao and techknowlogick
a05c5ba3ad
Add make docker ( #115 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/115
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-04-13 04:17:08 +08:00
Lunny Xiao and Jason Song
10d639cc6b
add release tag ( #111 )
...
Fix #108
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/111
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-04-11 14:04:08 +08:00
Lunny Xiao
c8fad20f49
handle possible panic ( #88 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/88
Reviewed-by: Jason Song <[email protected] >
2023-03-28 23:51:38 +08:00
Lunny Xiao and Jason Song
83fb85f702
Fix bug ( #31 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/31
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-03-26 21:01:46 +08:00
Lunny Xiao and appleboy
7c5400d75b
ParseRawOn support schedules ( #29 )
...
Fix gitea/act_runner#71
Reviewed-on: https://gitea.com/gitea/act/pulls/29
Reviewed-by: Jason Song <[email protected] >
Reviewed-by: Zettat123 <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-03-24 20:15:46 +08:00
Lunny Xiao
63a57edaa3
check go version when build ( #53 )
...
Fix #51
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/53
2023-03-16 11:37:08 +08:00
Lunny Xiao and Jason Song
5180cd56e1
Support cache on ci ( #47 )
...
Fix #46
Co-authored-by: Jason Song <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/47
Reviewed-by: techknowlogick <[email protected] >
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-03-15 12:28:18 +08:00
Lunny Xiao
71f470d670
Fix make don't rebuild when go.mod changed ( #49 )
...
Fix #13
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/49
Reviewed-by: delvh <[email protected] >
2023-03-14 18:43:05 +08:00
Lunny Xiao and techknowlogick
c0c363bf59
Update readme to add pre-built binary download links ( #45 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/45
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-03-14 13:39:12 +08:00
Lunny Xiao
a4513405b5
Enable action as CI to test/build/release ( #26 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/26
2023-02-24 23:30:09 +08:00
Lunny Xiao and Jason Song
f1869f70b9
Allow request an insecure gitea server ( #18 )
...
When deploy a Gitea server with a self-signed HTTPS certification. Runner will be failed when connect to Gitea server. This PR will fix that to allow ignore the HTTPS certification verification.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/18
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-02-15 16:51:14 +08:00
Lunny Xiao and Jason Song
4b99ed8916
Support go run on action ( #12 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/12
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-02-15 16:10:15 +08:00
Lunny Xiao and Jason Song
e46ede1b17
parse raw on ( #11 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/11
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2023-01-31 15:49:55 +08:00
Lunny Xiao
715d0e85ce
Merge pull request 'Fix duplicated log when register failed' ( #3 ) from lunny/act_runner:lunny/fix_register_failure_hint into main
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/3
2022-11-25 00:55:16 +08:00
Lunny Xiao
1ab84ac8e8
Fix duplicated log when register failed
2022-11-25 00:54:32 +08:00
Lunny Xiao
1d50f0f5fd
Merge pull request 'Update README about register' ( #2 ) from lunny/act_runner:lunny/update_readme into main
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/2
2022-11-25 00:42:46 +08:00
Lunny Xiao
d1017d752f
Update README about register
2022-11-25 00:40:00 +08:00
Lunny Xiao and Jason Song
519726b46b
Update act
2022-11-24 15:38:14 +08:00
Lunny Xiao and Jason Song
5fc35faf17
Support bot site
2022-11-24 15:38:06 +08:00
Lunny Xiao and Jason Song
8cffac65d9
Use normal images which includes git command
2022-11-24 15:38:00 +08:00
Lunny Xiao and Jason Song
222b5100b6
add new envs
2022-11-24 15:37:48 +08:00
Lunny Xiao and Jason Song
93c8de3ec4
get token
2022-11-24 15:37:46 +08:00
Lunny Xiao and Jason Song
378966e45f
add forgeinstance
2022-11-24 15:37:40 +08:00
Lunny Xiao and Jason Song
9c7d2be7c6
Fix bug
2022-11-24 15:37:39 +08:00
Lunny Xiao and Jason Song
b83f36674b
Fix build
2022-11-24 15:36:47 +08:00
Lunny Xiao and Jason Song
3b7ac17410
Use fork instead of act
2022-11-24 15:36:45 +08:00
Lunny Xiao and Jason Song
906d52ae0b
Use gitea.com/gitea/act replace original
2022-11-24 15:36:31 +08:00
Lunny Xiao and Jason Song
db7ee2eaf4
log
2022-11-24 15:36:22 +08:00
Lunny Xiao and Jason Song
c7cb750616
refactor functions
2022-11-24 15:36:21 +08:00
Lunny Xiao and Jason Song
5903c08c14
update protocol
2022-11-24 15:36:20 +08:00
Lunny Xiao and Jason Song
2babadbc94
Add websocket
2022-11-24 15:36:19 +08:00
Lunny Xiao and Jason Song
e397fcc259
Add license
2022-11-24 15:36:16 +08:00
Lunny Xiao and Jason Song
d7e9ea75fc
disable graphql url because gitea doesn't support that
2022-11-22 14:42:48 +08:00
Lunny Xiao and Jason Song
b9a9812ad9
Fix API
2022-11-22 14:22:03 +08:00
Lunny Xiao and Jason Song
113c3e98fb
support bot site
2022-11-22 14:17:06 +08:00
Lunny Xiao
eee792a019
init project
2022-04-27 17:45:53 +08:00