Add API routes to manage Actions #11128

Open
opened 2025-11-02 09:28:22 -06:00 by GiteaMirror · 11 comments
Owner

Originally created by @5fxKu8VV8n on GitHub (Jun 28, 2023).

Feature Description

If possible, could you add some API routes to list, get status, get informations of Actions on repositories ?
Something like that : /repos/{owner}/{repo}/actions.

Screenshots

No response

Originally created by @5fxKu8VV8n on GitHub (Jun 28, 2023). ### Feature Description If possible, could you add some API routes to list, get status, get informations of Actions on repositories ? Something like that : /repos/{owner}/{repo}/actions. ### Screenshots _No response_
Author
Owner

@lyz-code commented on GitHub (Aug 2, 2023):

It will be also useful to have the possibility to enable the Actions in the repository settings API PATCH method.

@lyz-code commented on GitHub (Aug 2, 2023): It will be also useful to have the possibility to enable the Actions in the repository settings API PATCH method.
Author
Owner

@Benjamin-Loison commented on GitHub (Aug 22, 2023):

As a temporary workaround I established a web-scraper that you can complete in terms of features.

@Benjamin-Loison commented on GitHub (Aug 22, 2023): As a temporary workaround I established [a web-scraper](https://codeberg.org/Benjamin_Loison/Gitea_Actions_Webscraper) that you can complete in terms of features.
Author
Owner

@chesteripz commented on GitHub (Aug 31, 2023):

It will be also useful to have the possibility to enable the Actions in the repository settings API PATCH method.

You can do it with the endpoint PATCH /repos/{owner}/{repo}

{
    "has_actions": true
}
@chesteripz commented on GitHub (Aug 31, 2023): > It will be also useful to have the possibility to enable the Actions in the repository settings API PATCH method. You can do it with the endpoint `PATCH /repos/{owner}/{repo}` ``` json { "has_actions": true } ```
Author
Owner

@lyz-code commented on GitHub (Oct 24, 2023):

It would be nice also to be able to create and delete repository secrets through the API.

Not sure if this request belongs to this issue, I can create another if needed.

@lyz-code commented on GitHub (Oct 24, 2023): It would be nice also to be able to create and delete repository secrets through the API. Not sure if this request belongs to this issue, I can create another if needed.
Author
Owner

@henrygoodman commented on GitHub (Nov 10, 2023):

@lyz-code you can :)
https://try.gitea.io/api/swagger#/repository/updateRepoSecret

PUT/DELETE implemented for endpoint:
/repos/{owner}/{repo}/actions/secrets/{secretname}

@henrygoodman commented on GitHub (Nov 10, 2023): @lyz-code you can :) https://try.gitea.io/api/swagger#/repository/updateRepoSecret PUT/DELETE implemented for endpoint: `/repos/{owner}/{repo}/actions/secrets/{secretname}`
Author
Owner

@lyz-code commented on GitHub (Nov 13, 2023):

Thanks @henrygoodman can't wait for 1.22 to be released ᕕ( ᐛ )ᕗ

@lyz-code commented on GitHub (Nov 13, 2023): Thanks @henrygoodman can't wait for 1.22 to be released `ᕕ( ᐛ )ᕗ`
Author
Owner

@Alirexaa commented on GitHub (Jul 29, 2024):

Also, it is useful to add an API route to run ci (actions).

I need an API to run actions for specific PR.

@Alirexaa commented on GitHub (Jul 29, 2024): Also, it is useful to add an API route to run ci (actions). I need an API to run actions for specific PR.
Author
Owner

@matmair commented on GitHub (Aug 27, 2024):

An API to trigger actions (similar to the workflow dispatch event) would be nice

@matmair commented on GitHub (Aug 27, 2024): An API to trigger actions (similar to the workflow dispatch event) would be nice
Author
Owner

@auggie-lahey commented on GitHub (Jan 9, 2025):

any updates on this? Seems pretty standard to be able to trigger a pipeline from the API

@auggie-lahey commented on GitHub (Jan 9, 2025): any updates on this? Seems pretty standard to be able to trigger a pipeline from the API
Author
Owner

@xsvato01 commented on GitHub (Apr 28, 2025):

Any updates?

@xsvato01 commented on GitHub (Apr 28, 2025): Any updates?
Author
Owner

@lunny commented on GitHub (Apr 28, 2025):

Please focus on #31416 .

@lunny commented on GitHub (Apr 28, 2025): Please focus on #31416 .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11128