Nicolas and GitHub
b3b2d111da
Feature: Add per-runner “Disable/Pause” ( #36776 )
...
This PR adds per-runner disable/enable support for Gitea Actions so a
registered runner can be paused from picking up new jobs without
unregistering.
Disabled runners stay registered and online but are excluded from new
task assignment; running tasks are allowed to finish. Re-enabling
restores pickup, and runner list/get responses now expose disabled
state.
Also added an endpoint for testing
http://localhost:3000/devtest/runner-edit/enable
<img width="1509" height="701" alt="Bildschirmfoto 2026-02-27 um 22 13
24"
src="https://github.com/user-attachments/assets/5328eda9-e59c-46b6-b398-f436e50ee3da "
/>
Fixes: https://github.com/go-gitea/gitea/issues/36767
2026-03-16 10:24:36 -07:00
716a800f50
Remove API registration-token ( #36801 )
...
Replace #36793
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2026-03-02 10:31:42 -08:00
Zettat123 and GitHub
cdc0733047
Use inputs context when parsing workflows ( #35590 )
...
Depends on [gitea/act#143 ](https://gitea.com/gitea/act/pulls/143 )
The [`inputs`
context](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#inputs-context )
is used when parsing workflows so that `run-name` like `run-name: Deploy
to ${{ inputs.deploy_target }}` can be parsed correctly.
2025-10-06 06:09:27 +02:00
wxiaoguang and GitHub
2a1585b32e
Refactor some tests ( #34580 )
...
1. use `test.MockVariableValue` as much as possible
2. avoid `time.Sleep` as much as possible
2025-06-03 01:26:19 +00:00
ee3c82f874
Enable addtional linters ( #34085 )
...
enable mirror, usestdlibbars and perfsprint
part of: https://github.com/go-gitea/gitea/issues/34083
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-01 10:14:01 +00:00
ChristopherHX and GitHub
65e2411394
Feature: Ephemeral action runners ( #33570 )
...
* This includes a runner mock test for hardend PickTask behavior like
described in my proposal
* Runner register ephemeral flag introduced in
https://gitea.com/gitea/act_runner/pulls/649
Closes #32461
2025-03-14 12:27:24 -07:00
cc1fdc84ca
Use test context in tests and new loop system in benchmarks ( #33648 )
...
Replace all contexts in tests with go1.24 t.Context()
---------
Co-authored-by: Giteabot <teabot@gitea.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-02-20 09:57:40 +00:00
Zettat123 and GitHub
df98452c0d
Improve Actions test ( #32883 )
...
This PR adds a mock runner to test more actions features.
2024-12-26 22:10:30 +00:00