WIP: 从原生仓库合并最新的四次提交 #1

Closed
寻觅 wants to merge 0 commits from actions/act_runner:main into main
Owner
No description provided.
寻觅 added 4 commits 2025-05-09 10:38:20 +08:00
* 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>
* 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>
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>
Add environment variables for OIDC token service (#674)
Some checks failed
checks / check and test (pull_request) Has been cancelled
5302c25feb
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>
寻觅 changed title from [合并请求-WIP]: 从原生仓库合并最新的四次提交 to WIP: [合并请求-WIP]: 从原生仓库合并最新的四次提交 2025-05-09 10:39:23 +08:00
寻觅 changed title from WIP: [合并请求-WIP]: 从原生仓库合并最新的四次提交 to WIP: [合并请求]: 从原生仓库合并最新的四次提交 2025-05-09 10:39:33 +08:00
寻觅 changed title from WIP: [合并请求]: 从原生仓库合并最新的四次提交 to WIP-合并请求: 从原生仓库合并最新的四次提交 2025-05-09 10:39:49 +08:00
寻觅 changed title from WIP-合并请求: 从原生仓库合并最新的四次提交 to WIP: 从原生仓库合并最新的四次提交 2025-05-09 10:40:03 +08:00
寻觅 closed this pull request 2025-05-09 14:49:41 +08:00
Some checks failed
checks / check and test (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LAA/loong_runner#1
No description provided.