silverwind
09b643bc14
fix: trim whitespace from register inputs ( #1147 )
...
Secrets often carry a trailing newline, for example from `echo "token" | base64`, which made `register --no-interactive` fail with `runner registration token not found`. The interactive path already trims typed values, this aligns the flag path.
Related to: https://gitea.com/gitea/runner/issues/727
Reviewed-on: https://gitea.com/gitea/runner/pulls/1147
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: silverwind <[email protected] >
2026-08-06 15:50:16 +00:00
bircni and silverwind
58c5eb8d21
feat: honour GITEA_RUNNER_LABELS on daemon start and accept labels containing a colon ( #1085 )
...
Fixes #648
Fixes #656
Fixes #664
---------
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/runner/pulls/1085
Reviewed-by: silverwind <[email protected] >
2026-07-15 16:58:07 +00:00
h7x4 and Félix Baylac Jacqué
be9b4502d6
enhance: add --token-file flag to register command ( #1076 )
...
Continuation of #362 .
In addition to fixing merge conflicts and the `fmt.Errorf` issue from the previous version, I've also added a set of tests to cover some basic usage of `initInputs`
---------
Co-authored-by: Félix Baylac Jacqué <[email protected] >
Reviewed-on: https://gitea.com/gitea/runner/pulls/1076
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: h7x4 <[email protected] >
2026-07-11 17:02:11 +00:00
bircni
3396021e0f
test: Enhance Coverage + CI ( #1055 )
...
Reviewed-on: https://gitea.com/gitea/runner/pulls/1055
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: bircni <[email protected] >
2026-07-01 03:26:42 +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 <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-07 17:17:26 +00:00