Would adding an input to specify the base API URL be possible?
It would be to replace https://api.github.com with https://<gitea domain>/api/v1.
The comments endpoints should work the same as GitHub's, but just in case here's Gitea's swagger from the demo instance.
This could also make it work with other GitHub API-compatible software.
EDIT: I see some actions use this in their inputs inside action.yml:
Hi!
I wanted to use this action for my Gitea/Forgejo instance. It started pretty well but failed when it tried to fetch comments.
The GET would have worked if it was with my instance's domain and base path.
Would adding an input to specify the base API URL be possible? It would be to replace
https://api.github.com
withhttps://<gitea domain>/api/v1
. The comments endpoints should work the same as GitHub's, but just in case here's Gitea's swagger from the demo instance.This could also make it work with other GitHub API-compatible software.
EDIT: I see some actions use this in their inputs inside
action.yml
: