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 <techknowlogick@noreply.gitea.com > 
					
						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 <christopherhx@noreply.gitea.com > 
						
						
					 
					
						2025-03-01 20:18:36 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						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 <wolfogre@noreply.gitea.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2024-10-18 04:33:57 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						59e478464e 
					 
					
						
						
							
							Bump act to v0.261.2 ( #602 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/act_runner/pulls/602 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
					 
					
						2024-09-24 07:04:47 +00:00 
						 
				 
			
				
					
						
							
							
								harryzcy 
							
						 
					 
					
						
						
							
						
						e1c7b20898 
					 
					
						
						
							
							Bump Go to 1.22 and upgrade dependencies ( #580 )  
						
						... 
						
						
						
						Co-authored-by: Chongyi Zheng <git@zcy.dev >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/580 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: harryzcy <harryzcy@noreply.gitea.com >
Co-committed-by: harryzcy <harryzcy@noreply.gitea.com > 
						
						
					 
					
						2024-07-26 16:00:33 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						65ed62d2f5 
					 
					
						
						
							
							Upgrade dependencies ( #537 )  
						
						... 
						
						
						
						Patially fix  #513 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/537 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2024-04-11 04:36:00 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						ec03f19650 
					 
					
						
						
							
							Bump act to v0.261.1 ( #535 )  
						
						... 
						
						
						
						Related to https://gitea.com/gitea/act/compare/v0.261.0...v0.261.1 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/535  
						
						
					 
					
						2024-04-10 07:07:56 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						cef86d1140 
					 
					
						
						
							
							Bump act to v0.260.0 ( #528 )  
						
						... 
						
						
						
						Related to:
- https://gitea.com/gitea/act/pulls/104 
- https://gitea.com/gitea/act/issues/102 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/528 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2024-04-02 06:25:33 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						a7eca813ea 
					 
					
						
						
							
							Bump act to v0.260.2 ( #523 )  
						
						... 
						
						
						
						Related to
- https://gitea.com/gitea/act/pulls/86 
- https://gitea.com/gitea/act/pulls/103 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/523 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2024-03-27 10:25:23 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						23ec12b8cf 
					 
					
						
						
							
							Bump act to v0.260.0 ( #522 )  
						
						... 
						
						
						
						Related to https://gitea.com/gitea/act/issues/99 .
Also update other main dependencies.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/522 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com > 
						
						
					 
					
						2024-03-27 03:17:04 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						5977042b86 
					 
					
						
						
							
							Bump act to v0.259.2 ( #515 )  
						
						... 
						
						
						
						Related to https://gitea.com/gitea/act/pulls/97 
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/515 
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
					 
					
						2024-03-14 18:58:43 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						75006a59cc 
					 
					
						
						
							
							Support cloning remote actions from insecure Gitea instances ( #508 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/92 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/508 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2024-03-06 06:10:37 +00:00 
						 
				 
			
				
					
						
							
							
								SupremeVoid 
							
						 
					 
					
						
						
							
						
						4da97f53de 
					 
					
						
						
							
							Bump act to v0.259.0 ( #491 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/act_runner/pulls/491 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Co-authored-by: SupremeVoid <supremevoid@t-online.de >
Co-committed-by: SupremeVoid <supremevoid@t-online.de > 
						
						
					 
					
						2024-03-03 16:34:37 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						8c8a8ce401 
					 
					
						
						
							
							fix(deps): update module github.com/avast/retry-go/v4 to v4.5.1 ( #411 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-28 05:46:05 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						08c681be0c 
					 
					
						
						
							
							fix(deps): update module golang.org/x/time to v0.5.0 ( #429 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-28 05:45:28 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						91bfe4c186 
					 
					
						
						
							
							fix(deps): update module golang.org/x/time to v0.4.0 ( #424 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-26 00:01:51 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						825c6f97b7 
					 
					
						
						
							
							fix(deps): update module github.com/mattn/go-isatty to v0.0.20 ( #414 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-24 08:33:37 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						2f3e5c7125 
					 
					
						
						
							
							fix(deps): update module github.com/docker/docker to v24.0.7+incompatible ( #413 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-24 08:27:38 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						4d9de6ca8c 
					 
					
						
						
							
							fix(deps): update module github.com/spf13/cobra to v1.8.0 ( #416 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-24 08:27:07 +00:00 
						 
				 
			
				
					
						
							
							
								Renovate Bot 
							
						 
					 
					
						
						
							
						
						feb39666cc 
					 
					
						
						
							
							fix(deps): update module code.gitea.io/gitea-vet to v0.2.3 ( #410 )  
						
						... 
						
						
						
						Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com > 
						
						
					 
					
						2023-11-24 08:26:24 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						00e9b3d62b 
					 
					
						
						
							
							Bump act ( #394 )  
						
						... 
						
						
						
						Bump act to follow https://gitea.com/gitea/act/pulls/81 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/394 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2023-10-31 15:03:07 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						d07fbfc8c3 
					 
					
						
						
							
							bump act library to v0.2.51 ( #360 )  
						
						... 
						
						
						
						brings in node20 support
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/360 
Reviewed-by: delvh <dev.lh@web.de > 
						
						
					 
					
						2023-09-24 19:20:40 +00:00 
						 
				 
			
				
					
						
							
							
								harryzcy 
							
						 
					 
					
						
						
							
						
						82c3c2df1a 
					 
					
						
						
							
							Upgrade Go to 1.21 and bump other dependencies ( #330 )  
						
						... 
						
						
						
						Co-authored-by: harryzcy <harry@harryzheng.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/330 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: harryzcy <harryzcy@noreply.gitea.com >
Co-committed-by: harryzcy <harryzcy@noreply.gitea.com > 
						
						
					 
					
						2023-08-10 01:45:25 +00:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						9fc823e4b1 
					 
					
						
						
							
							Fix "http: invalid Host header" issue ( #319 )  
						
						... 
						
						
						
						This issue  is caused by the addition of validation logic for `Host` in `http.Request` in golang 1.20.6 (see https://go-review.googlesource.com/c/go/+/507357/6/src/net/http/request.go )
In `act`, when execute `ContainerExecAttach()`(see 22d91e3ac3/pkg/container/docker_run.go (L594)https://github.com/nektos/act/pull/1917  and revert https://gitea.com/gitea/act_runner/pulls/295 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/319 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com > 
						
						
					 
					
						2023-08-02 04:34:36 +00:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						12999b61dd 
					 
					
						
						
							
							Reduce unnecessary DB queries for Actions tasks ( #219 )  
						
						... 
						
						
						
						implement: https://github.com/go-gitea/gitea/issues/24544 
Changes:
- Add a global variable `tasksVersion` to store the lastest version number which returned by Gitea.
- Pass `tasksVersion` to Gitea when invoking `FetchTask`.
- If there is no task in the `FetchTask` response, store the version from the `FetchTask` response into `tasksVersion` variable.
- If there is a task in the `FetchTask` response, set `tasksVersion` to zero to focre query db in next `FetchTask` request.
Related:
- Protocol: https://gitea.com/gitea/actions-proto-def/pulls/10 
- Gitea side: https://github.com/go-gitea/gitea/pull/25199 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/219 
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com > 
						
						
					 
					
						2023-07-25 03:25:50 +00:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						1a7ec5f339 
					 
					
						
						
							
							Upgrade gitea/act ( #298 )  
						
						... 
						
						
						
						Follow  https://gitea.com/gitea/act/pulls/75 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/298 
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com > 
						
						
					 
					
						2023-07-20 05:12:59 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						73adae040d 
					 
					
						
						
							
							Upgrade act ( #291 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/74 
Fix  #277 , #290 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/291 
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-07-17 03:44:42 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						c6006ee699 
					 
					
						
						
							
							Upgrade act ( #269 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/71 .
Fix https://gitea.com/gitea/act_runner/issues/266 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/269 
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-07-03 04:15:46 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						cf48ed88ba 
					 
					
						
						
							
							Revert supporting multiple default actions URLs and use github for exec by default ( #262 )  
						
						... 
						
						
						
						## ⚠️  BREAKING ⚠️ 
Follow https://github.com/go-gitea/gitea/pull/25581  and gitea/act#70 .
- Revert "Parse multiple default actions URLs (#200 )"
- Revert "fix defaultActionsUrls config for exec (#233 )"
- Use `https://github.com ` for exec by default.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/262  
						
						
					 
					
						2023-06-30 07:53:18 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						8c14933e70 
					 
					
						
						
							
							Upgrade act ( #248 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/68 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/248 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-06-20 08:33:42 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						ec38401097 
					 
					
						
						
							
							Add ValidVolumes config ( #226 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/60 , https://gitea.com/gitea/act/pulls/64 
This PR adds the `valid_volumes` configuration. `valid_volumes` is a sequence containing the volumes (including bind mounts) that can be mounted to the container. By default, `valid_volumes` is empty, which means that no volumes can be mounted. Users can specify multiple valid volumes and [glob](https://github.com/gobwas/glob ) is supported.
All volumes will be allowed when using `exec` to run workflows locally.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/226 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-06-16 06:07:48 +00:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						67b1363d25 
					 
					
						
						
							
							Support changing labels ( #201 )  
						
						... 
						
						
						
						Implement proposal: https://github.com/go-gitea/gitea/issues/24540 
Related:
- Protocol: https://gitea.com/gitea/actions-proto-def/pulls/9 
- Gitea side: https://github.com/go-gitea/gitea/pull/24806 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/201 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com > 
						
						
					 
					
						2023-06-15 03:59:15 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						fed01c9807 
					 
					
						
						
							
							Parse multiple default actions URLs ( #200 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/58 
Resolve https://github.com/go-gitea/gitea/issues/24789 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/200 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-06-06 04:03:02 +00:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						35596a182b 
					 
					
						
						
							
							Add configuration item of container.network ( #184 )  
						
						... 
						
						
						
						Close https://gitea.com/gitea/act_runner/issues/177 
Related https://gitea.com/gitea/act/pulls/56 
### ⚠️  Breaking
The `container.network_mode` is a deprecated configuration item. It may be removed after Gitea 1.20 released.
Previously, if the value of `container.network_mode` is `bridge`, it means that `act_runner` will create a new network for job.But `bridge` is easily confused with the bridge network created by Docker by default.
We recommand that using `container.network` to specify the network to which containers created by `act_runner` connect.
###  🆕  container.network
The configuration file of `act_runner` add a new item of `contianer.network`.
In `config.example.yaml`:
```yaml
container:
  # Specifies the network to which the container will connect.
  # Could be host, bridge or the name of a custom network.
  # If it's empty, act_runner will create a network automatically.
  network: ""
```
As the comment in the example above says, the purpose of the `container.network` is specifying the network to which containers created by `act_runner` will connect.
`container.network` accepts the following valid values:
- `host`: All of containers (including job containers and service contianers) created by `act_runner` will be connected to the network named `host` which is created automatically by Docker. Containers will share the host’s network stack and all interfaces from the host will be available to these containers.
- `bridge`: It is similar to `host`. All of containers created by `act_runner` will be connected to the network named `bridge` which is created automatically by Docker. All containers connected to the `bridge` (Perhaps there are containers that are not created by `act_runner`) are allowed to communicate with each other, while providing isolation from containers which are not connected to that `bridge` network.
- `<custom_network>`: Please make sure that the `<custom_network>` network already exists firstly (`act_runner` does not detect whether the specified network exists currently. If not exists yet, will return error in the stage of `docker create`). All of containers created by `act_runner` will be connected to `<custom_network>`. After the job is executed, containers are removed and automatically disconnected from the `<custom_network>`.
- empty: `act_runner` will create a new network for each job container and their service containers (if defined in workflow). So each job container and their service containers share a network environment, but are isolated from others container and the Docker host. Of course, these networks created by `act_runner` will be removed at last.
### Others
- If you do not have special needs, we highly recommend that setting `container.network` to empty string (and do not use `container.network_mode` any more). Because the containers created by `act_runner` will connect to the networks that are created by itself. This point will provide better isolation.
- If you set `contianer.network` to empty string or `<custom_network>`, we can be access to service containers by `<service-id>:<port>` in the steps of job. Because we added an alias to the service container when connecting to the network.
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/184 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com > 
						
						
					 
					
						2023-05-16 14:46:59 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						de4160b023 
					 
					
						
						
							
							Skip counting log length when parseLogRow return nil ( #176 )  
						
						... 
						
						
						
						Fix:

Regression of #149 , `LogLength` could be incorrect.
It may be related to https://github.com/go-gitea/gitea/issues/24458 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/176 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io >
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io > 
						
						
					 
					
						2023-05-06 17:00:52 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						0c029f7e79 
					 
					
						
						
							
							Upgrade act and use new artifactcache ( #174 )  
						
						... 
						
						
						
						- Upgrade act to v0.245.1
- Replace `gitea.com/gitea/act_runner/internal/app/artifactcache` with `github.com/nektos/act/pkg/artifactcache`
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/174 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2023-05-04 18:45:01 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						293926f5d5 
					 
					
						
						
							
							bump modernc.org/sqlite ( #141 )  
						
						... 
						
						
						
						fix  #140 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/141 
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io > 
					
						2023-04-25 03:16:01 +08:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						27a1a90d25 
					 
					
						
						
							
							Upgrade act ( #135 )  
						
						... 
						
						
						
						Related to:
- https://gitea.com/gitea/act/pulls/45 
- https://gitea.com/gitea/act/pulls/47 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/135 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-04-21 10:48:26 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						d4bebccc12 
					 
					
						
						
							
							Update dependencies ( #130 )  
						
						... 
						
						
						
						Related to:
- https://gitea.com/gitea/act/pulls/44 
- https://gitea.com/gitea/actions-proto-def/pulls/5 
- https://gitea.com/gitea/actions-proto-def/pulls/7 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/130  
						
						
					 
					
						2023-04-19 16:50:07 +08:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						c75b67e892 
					 
					
						
						
							
							Upgrade act ( #128 )  
						
						... 
						
						
						
						Follow https://gitea.com/gitea/act/pulls/42 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/128 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-04-19 14:53:23 +08:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						c69c353d93 
					 
					
						
						
							
							Upgrade act ( #124 )  
						
						... 
						
						
						
						Related to https://gitea.com/gitea/act/pulls/40 
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/124 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
					 
					
						2023-04-14 18:20:04 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						220efa69c0 
					 
					
						
						
							
							Refactor to new framework ( #98 )  
						
						... 
						
						
						
						- Adjust directory structure
```text
├── internal
│   ├── app
│   │   ├── artifactcache
│   │   ├── cmd
│   │   ├── poll
│   │   └── run
│   └── pkg
│       ├── client
│       ├── config
│       ├── envcheck
│       ├── labels
│       ├── report
│       └── ver
└── main.go
```
- New pkg `labels` to parse label
- New pkg `report` to report logs to Gitea
- Remove pkg `engine`, use `envcheck` to check if docker running.
- Rewrite `runtime` to `run`
- Rewrite `poller` to `poll`
- Simplify some code and remove what's useless.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/98 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
					 
					
						2023-04-04 21:32:04 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						7e7096e60b 
					 
					
						
						
							
							Refactor environment variables to configuration and registration ( #90 )  
						
						... 
						
						
						
						Close  #21 .
Refactor environment variables to configuration file (config.yaml) and registration file (.runner).
The old environment variables are still supported, but warning logs will be printed.
Like:
```text
$ GITEA_DEBUG=true ./act_runner -c config.yaml daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG has been ignored because config file is used
$ GITEA_DEBUG=true ./act_runner daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG will be deprecated, please use config file instead
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/90 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
					
						2023-04-02 22:41:48 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						4d5a35ac65 
					 
					
						
						
							
							Upgrade act ( #68 )  
						
						... 
						
						
						
						Related to https://gitea.com/gitea/act/pulls/27 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/68  
						
						
					 
					
						2023-03-23 13:33:17 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						48b05a0ca8 
					 
					
						
						
							
							Upgrade act to support go actions ( #62 )  
						
						... 
						
						
						
						See:
- https://gitea.com/gitea/act/pulls/20 
- https://gitea.com/gitea/act/pulls/22 
- https://gitea.com/gitea/act/pulls/26 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/62 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io > 
						
						
					 
					
						2023-03-21 16:33:08 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						4d868b7f3c 
					 
					
						
						
							
							Update act to v0.243 ( #54 )  
						
						... 
						
						
						
						- Update act to v0.243.1
- Disable artifacts server when run daemon.
- Adjust cmd.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/54 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io > 
						
						
					 
					
						2023-03-17 09:45:46 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						436b441cad 
					 
					
						
						
							
							Support cache ( #25 )  
						
						... 
						
						
						
						See [Caching dependencies to speed up workflows](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows ).
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/25 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
					 
					
						2023-02-28 23:39:30 +08:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
						
						552dbcdda9 
					 
					
						
						
							
							Add copyright header and gitea-vet ( #29 )  
						
						... 
						
						
						
						Add copyright header
Co-authored-by: sillyguodong <gedong_1994@163.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/29 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io >
Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io >
Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io > 
						
						
					 
					
						2023-02-28 18:44:46 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						410765b516 
					 
					
						
						
							
							Upgrade act ( #24 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/act_runner/pulls/24  
						
						
					 
					
						2023-02-24 14:23:22 +08:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						06b9c3962e 
					 
					
						
						
							
							Upgrade act ( #23 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/act_runner/pulls/23  
						
						
					 
					
						2023-02-24 12:16:18 +08:00