Christopher Homberger 
							
						 
					 
					
						
						
							
						
						8920c4a170 
					 
					
						
						
							
							Timeout to wait for and optionally require docker always ( #741 )  
						
						... 
						
						
						
						* do not require docker cli in the runner image for waiting for a sidecar dockerd
* allow to specify that `:host` labels would also only be accepted if docker is reachable
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/741 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
 
						
					 
					
						2025-08-28 17:28:08 +00:00 
						 
				 
			
				
					
						
							
							
								Akkuman 
							
						 
					 
					
						
						
							
						
						bbf9d7e90f 
					 
					
						
						
							
							feat: support github mirror ( #716 )  
						
						... 
						
						
						
						ref: https://github.com/go-gitea/gitea/issues/34858 
when github_mirror='https://ghfast.top/https://github.com '
it will clone from the github mirror
However, there is an exception: because the cache is hashed using the string, if the same cache has been used before, it will still be pulled from github, only for the newly deployed act_ruuner
In the following two scenarios, it will solve the problem encountered:
1. some github mirror is  https://xxx.com/https://github.com/actions/checkout@v4 , it will report error `Expected format {org}/{repo}[/path]@ref. Actual ‘https://xxx.com/https://github.com/actions/checkout@v4’  Input string was not in a correct format`
2. If I use an action that has a dependency on another action, even if I configure the url of the action I want to use, the action that the action introduces will still pull from github.
for example 02882cc2d9/action.yml (L127-L132)xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/716 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Akkuman <akkumans@qq.com >
Co-committed-by: Akkuman <akkumans@qq.com > 
						
						
							
						
					 
					
						2025-08-28 16:57:01 +00:00 
						 
				 
			
				
					
						
							
							
								Daan Selen 
							
						 
					 
					
						
						
							
						
						46f471a900 
					 
					
						
						
							
							refac(workflow): use matrix to compile different docker images ( #740 )  
						
						... 
						
						
						
						I have made this to speed up and make it more robust.
The matrix executes the jobs in parallel, doing some things perhaps double. But making overall management easier due to the simple defined variables at the top of the matrix declaration.
Co-authored-by: Daan Selen <dselen@systemec.nl >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/740 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Daan Selen <dselen@nerthus.nl >
Co-committed-by: Daan Selen <dselen@nerthus.nl > 
						
						
							
						
					 
					
						2025-08-22 23:49:20 +00:00 
						 
				 
			
				
					
						
							
							
								DaanSelen 
							
						 
					 
					
						
						
							
						
						aa28f8d99c 
					 
					
						
						
							
							feat(docker): add TZ env variable working ( #738 )  
						
						... 
						
						
						
						Relevant: https://gitea.com/gitea/act_runner/issues/735 
See my example below, `edit` is my PR, `non-edit` is the origin/main.
```
dselen@N-DESKTOP1:~/development/act_runner$ docker images
REPOSITORY   TAG        IMAGE ID       CREATED          SIZE
runner       edit       b12322f8c3f0   26 seconds ago   43.5MB
runner       non-edit   e5593ad32c16   34 minutes ago   43.1MB
dselen@N-DESKTOP1:~/development/act_runner$ docker run -d -e TZ=Europe/Amsterdam runner:non-edit
5f26979515f461a2a7e342aa586d7b91224d2d3c3dcf1ed0c1e7293ff00645a4
dselen@N-DESKTOP1:~/development/act_runner$ docker run -d -e TZ=Europe/Amsterdam runner:edit
9cc5fc6b364cf07776d97c6c60c03f23372eb2c93c7da8d3d80f4f6dc2a6b10e
dselen@N-DESKTOP1:~/development/act_runner$ docker ps
CONTAINER ID   IMAGE             COMMAND                  CREATED         STATUS         PORTS     NAMES
9cc5fc6b364c   runner:edit       "/sbin/tini -- run.sh"   2 seconds ago   Up 2 seconds             serene_bardeen
5f26979515f4   runner:non-edit   "/sbin/tini -- run.sh"   5 seconds ago   Up 5 seconds             jovial_euler
dselen@N-DESKTOP1:~/development/act_runner$ docker exec -it jovial_euler bash
5f26979515f4:/# date
Thu Aug 21 16:40:35 UTC 2025
dselen@N-DESKTOP1:~/development/act_runner$ docker exec -it serene_bardeen bash
9cc5fc6b364c:/# date
Thu Aug 21 18:40:42 CEST 2025
```
I do not see why this would not be acceptable, its only 400KB
Regards.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/738 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: DaanSelen <daanselen@noreply.gitea.com >
Co-committed-by: DaanSelen <daanselen@noreply.gitea.com > 
						
						
							
						
					 
					
						2025-08-21 23:56:32 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Homberger 
							
						 
					 
					
						
						
							
						
						6a7e18b124 
					 
					
						
						
							
							Allow node24 actions ( #737 )  
						
						... 
						
						
						
						* `node` Tool is used regardless of this change
* upgrade images with `node` = `node24` if required
* actions/checkout@v5 now passing validation
Fixes  #729 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/737 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
						
					 
					
						2025-08-21 17:47:26 +00:00 
						 
				 
			
				
					
						
							
							
								telackey 
							
						 
					 
					
						
						
							
						
						53329c46ff 
					 
					
						
						
							
							Add ubuntu-24.04 label to defaults. ( #724 )  
						
						... 
						
						
						
						Simple change to include ubuntu-24.04 in the default list.  While ubuntu-latest already points to the same image (at this time) it is appropriate to have it by version as well.
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/724 
Co-authored-by: telackey <telackey@noreply.gitea.com >
Co-committed-by: telackey <telackey@noreply.gitea.com > 
						
						
							
						
					 
					
						2025-07-22 14:47:30 +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 <techknowlogick@noreply.gitea.com >
 
						
					 
					
						2025-06-11 17:59:35 +00:00 
						 
				 
			
				
					
						
							
							
								lautriva 
							
						 
					 
					
						
						
							
						
						edec9a8f91 
					 
					
						
						
							
							Add a way to specify vars in act_runner exec ( #704 )  
						
						... 
						
						
						
						Before this commit, when running locally `act_runner exec` to test workflows, we could only fill env and secrets but not vars
This commit add a new exec option `--var` based on what is done for env and secret
Example:
`act_runner exec --env MY_ENV=testenv -s MY_SECRET=testsecret --var MY_VAR=testvariable`
 workflow
```
name: Gitea Actions test
on: [push]
jobs:
  TestAction:
    runs-on: ubuntu-latest
    steps:
      - run: echo "VAR -> ${{ vars.MY_VAR }}"
      - run: echo "ENV -> ${{ env.MY_ENV }}"
      - run: echo "SECRET -> ${{ secrets.MY_SECRET }}"
```
Will echo var, env and secret values sent in the command line
Fixes  gitea/act_runner#692 
Co-authored-by: Lautriva <gitlactr@dbn.re >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/704 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: lautriva <lautriva@noreply.gitea.com >
Co-committed-by: lautriva <lautriva@noreply.gitea.com > 
						
						
							
						
					 
					
						2025-06-11 17:38:29 +00:00 
						 
				 
			
				
					
						
							
							
								Pablo Carranza 
							
						 
					 
					
						
						
							
						
						6a9a447f86 
					 
					
						
						
							
							Report errors by setting raw_output when it's error level ( #645 )  
						
						... 
						
						
						
						This solves #643  by setting the "raw_output" entry attribute when the log level is error.  This results in the log line being shipped to the Gitea UI.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/645 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Pablo Carranza <pcarranza@gmail.com >
Co-committed-by: Pablo Carranza <pcarranza@gmail.com > 
						
						
							
						
					 
					
						2025-06-05 17:53:13 +00:00 
						 
				 
			
				
					
						
							
							
								Jack Jackson 
							
						 
					 
					
						
						
							
						
						5302c25feb 
					 
					
						
						
							
							Add environment variables for OIDC token service ( #674 )  
						
						... 
						
						
						
						Resurrecting [this PR](https://gitea.com/gitea/act_runner/pulls/272 ) (a dependency of [this one](https://github.com/go-gitea/gitea/pull/33945 )) after the original author [lost motivation](https://github.com/go-gitea/gitea/pull/25664#issuecomment-2737099259 ) - though, to be clear, all credit belongs to them, and all blame for mistakes or misunderstandings to me.
Co-authored-by: Søren L. Hansen <sorenisanerd@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/674 
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jack Jackson <scubbojj@gmail.com >
Co-committed-by: Jack Jackson <scubbojj@gmail.com > 
						
						
							
						
					 
					
						2025-05-08 01:58:31 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Homberger 
							
						 
					 
					
						
						
							
						
						a616ed1a10 
					 
					
						
						
							
							feat: register interactive with values from cli ( #682 )  
						
						... 
						
						
						
						I used to be able to do something like `./act_runner register --instance https://gitea.com  --token testdcff --name test` on GitHub Actions Runners, but act_runner always asked me to enter instance, token etc. again and requiring me to use `--no-interactive` including passing everything per cli.
My idea was to extract the preset input of some stages to skip the prompt for this value if it is a non empty string. Labels is the only question that has been asked more than once if validation failed, in this case the error path have to unset the values of the input structure to not end in a non-interactive loop.
_I have written this initially for my own gitea runner, might be useful to everyone using the official runner as well_
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/682 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
						
					 
					
						2025-05-08 01:57:53 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Homberger 
							
						 
					 
					
						
						
							
						
						f0b5aff3bb 
					 
					
						
						
							
							fix: invalid label NoInteractive exit code ( #683 )  
						
						... 
						
						
						
						* add test
* return validation error not nil from function
Closes  #665 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/683 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
						
					 
					
						2025-05-07 17:17:26 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Homberger 
							
						 
					 
					
						
						
							
						
						44b4736703 
					 
					
						
						
							
							feat: docker env vars for ephemeral and once ( #685 )  
						
						... 
						
						
						
						* GITEA_RUNNER_EPHEMERAL=1
* GITEA_RUNNER_ONCE=1
Related https://gitea.com/gitea/act_runner/issues/684 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/685 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
						
					 
					
						2025-05-07 15:43:05 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Homberger 
							
						 
					 
					
						
						
							
						
						b1ae30dda8 
					 
					
						
						
							
							ephemeral act runner ( #649 )  
						
						... 
						
						
						
						Works for both interactive and non-interactive registration mode.
A further enhancement would be jitconfig support of the daemon command, because after some changes in Gitea Actions the registration token became reusable.
removing runner and fail seems not possible at the current api level
Part of https://github.com/go-gitea/gitea/pull/33570 
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/649 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de > 
						
						
							
						
					 
					
						2025-03-13 21:57:44 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						0d687268c7 
					 
					
						
						
							
							act_runner requires go 1.24 now  
						
						
						
						
							
						
					 
					
						2025-03-02 05:36:24 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						425a570261 
					 
					
						
						
							
							use new docker image URLs ( #661 )  
						
						... 
						
						
						
						Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/661 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com > 
						
						
							
						
					 
					
						2025-03-01 20:21:52 +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 
						 
				 
			
				
					
						
							
							
								Pablo Carranza 
							
						 
					 
					
						
						
							
						
						5ae13f0bd7 
					 
					
						
						
							
							Update xgo version to 1.24 ( #651 )  
						
						... 
						
						
						
						Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/651 
Co-authored-by: Pablo Carranza <pcarranza@gmail.com >
Co-committed-by: Pablo Carranza <pcarranza@gmail.com > 
						
						
							
						
					 
					
						2025-02-15 16:07:18 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						3510152e36 
					 
					
						
						
							
							Fix Makefile make docker ( #641 )  
						
						... 
						
						
						
						Fix  #640 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/641  
					
						2025-01-29 03:27:47 +00:00 
						 
				 
			
				
					
						
							
							
								armistace 
							
						 
					 
					
						
						
							
						
						8dfb805c62 
					 
					
						
						
							
							Update examples/kubernetes/dind-docker.yaml to reflect recent changes to Dockerfile ( #633 )  
						
						... 
						
						
						
						With the changes made two months ago for the Dockerfile /opt/act/run.sh no longer exists in the docker container, this caused this example to fail, updating the example so that it correctly references run.sh now located in /usr/local/bin
I have used this to deploy on my own cluster and it is now working swimmingly
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/633 
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: armistace <armistace@noreply.gitea.com >
Co-committed-by: armistace <armistace@noreply.gitea.com > 
						
						
							
						
					 
					
						2025-01-26 02:10:17 +00:00 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						a7080f5457 
					 
					
						
						
							
							Update examples for GITEA_RUNNER_REGISTRATION_TOKEN env ( #630 )  
						
						... 
						
						
						
						For https://github.com/go-gitea/gitea/pull/32946 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/630 
Reviewed-by: Lunny Xiao <lunny@noreply.gitea.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
						
						
							
						
					 
					
						2025-01-05 22:25:32 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						8b72d1c7ae 
					 
					
						
						
							
							add s390x and riscv64 as an arch for binaries  
						
						
						
						
							
						
					 
					
						2024-12-09 18:49:38 +00:00 
						 
				 
			
				
					
						
							
							
								garet90 
							
						 
					 
					
						
						
							
						
						8bc0275e74 
					 
					
						
						
							
							feat: add once flag to daemon command ( #19 ) ( #598 )  
						
						... 
						
						
						
						Once flag polls and completes one job then exits.
I use this with Windows Sandbox (and creating users with local brew install on Mac) to create a fresh environment every time.
Co-authored-by: Garet Halliday <garet@pit.dev >
Co-authored-by: Jason Song <wolfogre@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/598 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Co-authored-by: garet90 <garet90@noreply.gitea.com >
Co-committed-by: garet90 <garet90@noreply.gitea.com > 
						
						
							
						
					 
					
						2024-11-06 17:16:08 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						0348aaac59 
					 
					
						
						
							
							Wait for the Docker daemon to be ready before starting act runner ( #620 )  
						
						... 
						
						
						
						Follow #619 .
Wait for the Docker daemon to be ready before starting act runner.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/620 
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
							
						
					 
					
						2024-11-06 07:38:31 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						9712481bed 
					 
					
						
						
							
							Support basic, dind and dind-rootless as multiple kinds of images ( #619 )  
						
						... 
						
						
						
						- `basic`: Only the runner process in the container; users need to mount the Docker socket to it.
- `dind`: A Docker daemon will be started in the container with the root user.
- `dind-rootless`: A Docker daemon will be started in the container with a rootless user.
Use s6 instead of supervisord to start processes.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/619 
Reviewed-by: Zettat123 <zettat123@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-11-06 03:15:51 +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 
						 
				 
			
				
					
						
							
							
								frank-dspeed 
							
						 
					 
					
						
						
							
						
						0e2a3e00f5 
					 
					
						
						
							
							examples/vm/rootless-docker.md aktualisiert ( #487 )  
						
						... 
						
						
						
						Depending on the VM's existing users the id can vary
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/487 
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: frank-dspeed <frank-dspeed@noreply.gitea.com >
Co-committed-by: frank-dspeed <frank-dspeed@noreply.gitea.com > 
						
						
							
						
					 
					
						2024-09-30 01:55:04 +00:00 
						 
				 
			
				
					
						
							
							
								Schallbert 
							
						 
					 
					
						
						
							
						
						b282356e9e 
					 
					
						
						
							
							update example for docker-compose to allow fix 502 errors in case Gitea not yet ready on runner startup ( #605 )  
						
						... 
						
						
						
						Minimalistic approach: Only adds what is needed to fix  #600 
Context: https://blog.schallbert.de/en/fix-gitea-runner/ 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/605 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Schallbert <schallbert@mailbox.org >
Co-committed-by: Schallbert <schallbert@mailbox.org > 
						
						
							
						
					 
					
						2024-09-26 05:54:54 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						b075e3a1d5 
					 
					
						
						
							
							Bump goreleaser-action to use v2 by default ( #604 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/act_runner/pulls/604 
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
							
 
						
					 
					
						2024-09-24 08:46:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						e27189ea32 
					 
					
						
						
							
							Fix releasing ( #603 )  
						
						... 
						
						
						
						```
[command]/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser release --nightly
  • by using this software you agree with its EULA, available at https://goreleaser.com/eula 
  • running goreleaser v2.3.2-pro
  • only configurations files on  version: 2  are supported, yours is  version: 0 , please update your configuration
  ⨯ release failed after 0s                  error=only configurations files on  version: 2  are supported, yours is  version: 0 , please update your configuration
::error::The process '/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser' failed with exit code 1
```
```
#20  [linux/arm64 builder 2/5] RUN apk add --no-cache make git
#20  CANCELED
------
 > [linux/amd64 builder 5/5] RUN make clean && make build:
0.058 go clean -x -i ./...
0.061 go: go.mod requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)
0.061 make: *** [Makefile:176: clean] Error 1
------
 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:8
--------------------
   6 |     WORKDIR /opt/src/act_runner
   7 |
   8 | >>> RUN make clean && make build
   9 |
  10 |     FROM alpine:3.18
--------------------
ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
::error::buildx failed with: ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/603 
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com > 
						
						
							
						
					 
					
						2024-09-24 08:22:53 +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 
						 
				 
			
				
					
						
							
							
								appleboy 
							
						 
					 
					
						
						
							
						
						2f78411c3d 
					 
					
						
						
							
							ci: standardize code style and update version extraction ( #566 )  
						
						... 
						
						
						
						- Change single quotes to double quotes in YAML files
- Update REPO_VERSION extraction method to use GITHUB_REF_NAME without the 'v' prefix
Signed-off-by: appleboy <appleboy.tw@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/566 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: appleboy <appleboy.tw@gmail.com >
Co-committed-by: appleboy <appleboy.tw@gmail.com > 
						
						
							
						
					 
					
						2024-06-28 07:48:10 +00:00 
						 
				 
			
				
					
						
							
							
								rowan-allspice 
							
						 
					 
					
						
						
							
						
						d1d3cad4b0 
					 
					
						
						
							
							feat: allow graceful shutdowns ( #546 )  
						
						... 
						
						
						
						Add a `Shutdown(context.Context) error` method to the Poller. Calling this method will first shutdown all active polling, preventing any new jobs from spawning. It will then wait for either all jobs to finish, or for the context to be cancelled. If the context is cancelled, it will then force all jobs to end, and then exit.
Fixes https://gitea.com/gitea/act_runner/issues/107 
Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/546 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
Co-committed-by: rowan-allspice <rowan-allspice@noreply.gitea.com > 
						
						
							
						
					 
					
						2024-05-27 07:38:55 +00:00 
						 
				 
			
				
					
						
							
							
								rowan-allspice 
							
						 
					 
					
						
						
							
						
						1735b26e66 
					 
					
						
						
							
							Don't log job output when debug logging is not enabled ( #543 )  
						
						... 
						
						
						
						We wanted the ability to disable outputting the logs from the individual job to the console. This changes the logging so that job logs are only output to the console whenever debug logging is enabled in `act_runner`, while still allowing the `Reporter` to receive these logs and forward them to Gitea when debug logging is not enabled.
Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/543 
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
Co-committed-by: rowan-allspice <rowan-allspice@noreply.gitea.com > 
						
						
							
						
					 
					
						2024-05-07 05:58: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 
							
						 
					 
					
						
						
							
						
						8567324a19 
					 
					
						
						
							
							Release nightly versions for tags ( #536 )  
						
						... 
						
						
						
						Or the latest nightly version could be "v0.2.8-4-gbe2df36" even though there's "v0.2.9", although they are for the same commit.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/536  
						
						
							
						
					 
					
						2024-04-10 07:06:08 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						be2df361ef 
					 
					
						
						
							
							Ensure declare to use new labels ( #530 )  
						
						... 
						
						
						
						Ensure "declare" is supported, to use new labels, see https://gitea.com/gitea/act_runner/pulls/529 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/530 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
							
 
						
					 
					
						2024-04-02 07:39:40 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						a5085dde0c 
					 
					
						
						
							
							Use gitea/runner-images by default ( #529 )  
						
						... 
						
						
						
						See https://gitea.com/gitea/runner-images 
Also give up ubuntu-18.04 since it's too old. And enable force_pull by default to check new versions of images.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/529 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
							
						
					 
					
						2024-04-02 07:38:14 +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 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						94c45acf6b 
					 
					
						
						
							
							Use node 20 by default ( #526 )  
						
						... 
						
						
						
						Because Octokit requires Node 18 or higher now.
See https://github.com/octokit/octokit.js/#fetch-missing  .
However, for existing runners, users should manually modify `labels` in the `.runner` file or `runner.labels` in the `config.yaml` file to update. Don't forget to restart.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/526 
Reviewed-by: sillyguodong <sillyguodong@noreply.gitea.com > 
						
						
							
						
					 
					
						2024-03-29 03:03:26 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						1760899d27 
					 
					
						
						
							
							Set gitea token to release ( #524 )  
						
						... 
						
						
						
						Follow a7eca813ea/.gitea/workflows/release-tag.yml (L39)https://github.com/nektos/act/pull/2089 
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/524  
						
						
							
 
						
					 
					
						2024-03-27 10:51:45 +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 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
						
						a1fc2b3ca7 
					 
					
						
						
							
							Improve the explanation of workdir_parent config ( #519 )  
						
						... 
						
						
						
						Fix  #512 
act_runner adds a '/' before the path (see 5977042b86/internal/app/run/runner.go (L186)https://gitea.com/gitea/act_runner/pulls/519 
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com > 
					
						2024-03-22 02:30:31 +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 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
						
						6bc19cbc33 
					 
					
						
						
							
							Improve workflows ( #516 )  
						
						... 
						
						
						
						Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs .
Also bump some versions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516 
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 13:27:47 +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