14
70
Fork
You've already forked meta
4

Support Forgejo Actions if Forgejo is hosted on a subpath #61

Closed
opened 2026年02月02日 21:16:51 +01:00 by JulianWgs · 2 comments

Hi,

I talked with someone at FOSDEM about this, but I don't remember their name. They told be to open an issue here.

There is a long standing issue with the checkout action so that it doesn't work when the Git Forge (Github or Forgejo) is hosted under a supath. Github does not want to support this as it is only applicable to Forgejo instances. As the the repo for checkout action for Forgejo is a read-only mirror of the Github checkout action there is no way to contribute a fix that.

The fix (including test and doc changes) includes less than a 100 changed lines. I think it would be worthwhile considering to maintaining this out of tree patchset for Forgejo users. I am unfortunately not a JavaScipt / TypeScript programmer so I can't really take care of the code, but I would volunteer to test it.

Thank you & best regards
Julian

PS: When using Tailscale (as I am) to my knowledge it is not trivially possible to host Forgejo under a subdomain, so subpaths are kind of necessary in that case.

Hi, I talked with someone at FOSDEM about this, but I don't remember their name. They told be to open an issue here. There is a long standing [issue](https://github.com/actions/checkout/issues/1242 ) with the checkout action so that it doesn't work when the Git Forge (Github or Forgejo) is hosted under a supath. Github does not want to support this as it is only applicable to Forgejo instances. As the the [repo for checkout action for Forgejo](https://code.forgejo.org/actions/checkout) is a read-only mirror of the Github checkout action there is no way to contribute a fix that. The [fix](https://github.com/actions/checkout/pull/1305) (including test and doc changes) includes less than a 100 changed lines. I think it would be worthwhile considering to maintaining this out of tree patchset for Forgejo users. I am unfortunately not a JavaScipt / TypeScript programmer so I can't really take care of the code, but I would volunteer to test it. Thank you & best regards Julian PS: When using Tailscale (as I am) to my knowledge it is not trivially possible to host Forgejo under a subdomain, so subpaths are kind of necessary in that case.
Owner
Copy link

Hi! It seems that your issue is not specific to Codeberg's hosted service of Forgejo Actions. It does not apply to Codeberg since we are not hosted on a subpath. You probably want to discuss this with the maintainers of Forgejo Actions itself. Please correct me if I'm understanding your request wrong.

I suppose that opening a discussion in https://codeberg.org/forgejo/discussions/issues/ would be more helpful.

Hi! It seems that your issue is not specific to Codeberg's hosted service of Forgejo Actions. It does not apply to Codeberg since we are not hosted on a subpath. You probably want to discuss this with the maintainers of Forgejo Actions itself. Please correct me if I'm understanding your request wrong. I suppose that opening a discussion in https://codeberg.org/forgejo/discussions/issues/ would be more helpful.

Thanks for the pointer: forgejo/discussions#443

Thanks for the pointer: https://codeberg.org/forgejo/discussions/issues/443
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
actions/meta#61
Reference in a new issue
actions/meta
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?