Gitea Actions - could not find runner by label #11300

Closed
opened 2025-11-02 09:33:43 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @sgabenov on GitHub (Jul 21, 2023).

Description

Gitea - v 1.20.0
Runner - tested on 0.2.3 (linux) and nightly v0.2.3-10-g1a7ec5f
Runner - INFO Registering runner, arch=amd64, os=linux, version=v0.2.3-10-g1a7ec5f

I have configured Gitea Actions, added and registered runner, but all jobs are not executed. I can see on UI, that it could not find runner by label. But the label exists. See attached screenshots.

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

actions_0 actions_1 actions_2 ubunt

Git Version

No response

Operating System

ubuntu 22.10

How are you running Gitea?

docker

Database

PostgreSQL

Originally created by @sgabenov on GitHub (Jul 21, 2023). ### Description Gitea - v 1.20.0 Runner - tested on 0.2.3 (linux) and nightly v0.2.3-10-g1a7ec5f Runner - INFO Registering runner, arch=amd64, os=linux, version=v0.2.3-10-g1a7ec5f I have configured Gitea Actions, added and registered runner, but all jobs are not executed. I can see on UI, that it could not find runner by label. But the label exists. See attached screenshots. ### Gitea Version 1.20.0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots <img width="1800" alt="actions_0" src="https://github.com/go-gitea/gitea/assets/15741789/bc603557-93cc-498b-849f-27d7945967ad"> <img width="712" alt="actions_1" src="https://github.com/go-gitea/gitea/assets/15741789/f49c63bb-77ea-46c7-b8b8-0baa061bd29c"> <img width="725" alt="actions_2" src="https://github.com/go-gitea/gitea/assets/15741789/36ae868e-4ed0-4346-921d-40a4dc845712"> ubunt ### Git Version _No response_ ### Operating System ubuntu 22.10 ### How are you running Gitea? docker ### Database PostgreSQL
GiteaMirror added the topic/gitea-actionsissue/needs-feedbacktype/bug labels 2025-11-02 09:33:43 -06:00
Author
Owner

@CaiCandong commented on GitHub (Jul 24, 2023):

I can't reproduce the bug, are you able to provide more details?

@CaiCandong commented on GitHub (Jul 24, 2023): I can't reproduce the bug, are you able to provide more details?
Author
Owner

@wolfogre commented on GitHub (Jul 24, 2023):

Let me guess.

  • According to the screenshot, the type of the runner is "Individual", so it means that you have registered a runner for your own account, not an organization or the entire instance.
  • And you tried to test Actions on sandbox/gitea-actions, I am not sure, but sandbox doesn't sound like a username, maybe it's a organization?
  • If I'm right, you should register a runner for sandbox, not your own account.
@wolfogre commented on GitHub (Jul 24, 2023): Let me guess. - According to the screenshot, the type of the runner is "Individual", so it means that you have registered a runner for your own account, not an organization or the entire instance. - And you tried to test Actions on `sandbox/gitea-actions`, I am not sure, but `sandbox` doesn't sound like a username, maybe it's a organization? - If I'm right, you should register a runner for `sandbox`, not your own account.
Author
Owner

@sgabenov commented on GitHub (Jul 24, 2023):

@wolfogre Thank you! Indeed, the runner was configured not for organization, but for individual.

@CaiCandong - There is a problem in documentation, actual links to configure actions are different, compared to this article:
https://docs.gitea.com/next/usage/actions/act-runner#obtain-a-registration-token

Actual links to Gitea 1.20 are:
Global: https://<gitea_url>/admin/actions/runners
Organization: https://<gitea_url>/org/(org_name)/settings/actions/runners
Individual: https://<gitea_url>/user/settings/actions/runners

Also i wold recommend to add information how to configure it from UI as well to this page (https://docs.gitea.com/next/usage/actions/quickstart)

Global: Site Administration > Actions > Runners
Organization: Explore > Organizations > (org_name) > Settings > Actions > Runners
Individual: User > Settings > Actions > Runners

@sgabenov commented on GitHub (Jul 24, 2023): @wolfogre Thank you! Indeed, the runner was configured not for organization, but for individual. @CaiCandong - There is a problem in documentation, actual links to configure actions are different, compared to this article: https://docs.gitea.com/next/usage/actions/act-runner#obtain-a-registration-token Actual links to Gitea 1.20 are: Global: https://<gitea_url>/admin/actions/runners Organization: https://<gitea_url>/org/(org_name)/settings/actions/runners Individual: https://<gitea_url>/user/settings/actions/runners Also i wold recommend to add information how to configure it from UI as well to this page (https://docs.gitea.com/next/usage/actions/quickstart) Global: Site Administration > Actions > Runners Organization: Explore > Organizations > (org_name) > Settings > Actions > Runners Individual: User > Settings > Actions > Runners
Author
Owner

@CaiCandong commented on GitHub (Jul 24, 2023):

@sgabenov Thank you a lot for your suggestion

@CaiCandong commented on GitHub (Jul 24, 2023): @sgabenov Thank you a lot for your suggestion
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11300