Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API routes to manage Actions #25572

Open
5fxKu8VV8n opened this issue Jun 28, 2023 · 6 comments
Open

Add API routes to manage Actions #25572

5fxKu8VV8n opened this issue Jun 28, 2023 · 6 comments
Labels
modifies/api This PR adds API routes or modifies them topic/api Concerns mainly the API topic/gitea-actions related to the actions of Gitea type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@5fxKu8VV8n
Copy link

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

@5fxKu8VV8n 5fxKu8VV8n added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Jun 28, 2023
@lunny lunny added the topic/gitea-actions related to the actions of Gitea label Jun 29, 2023
@wolfogre wolfogre added the modifies/api This PR adds API routes or modifies them label Jun 29, 2023
@lyz-code
Copy link

lyz-code commented Aug 2, 2023

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

@Benjamin-Loison
Copy link
Contributor

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

@chesteripz
Copy link
Contributor

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
}

@lyz-code
Copy link

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.

@henrygoodman
Copy link

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

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

@lyz-code
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modifies/api This PR adds API routes or modifies them topic/api Concerns mainly the API topic/gitea-actions related to the actions of Gitea type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

8 participants