Allow Actions to access "Administration" API endpoints, e.g. update repo's description #40279
Unanswered
vincerubinetti
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Based on this issue: actions/configure-pages#40
I have a website template, and I was hoping to have Actions workflows that setup the repo for the (non-technical) user when they clone/fork the repo. I was hoping to automatically do things like set the repo description, set the repo homepage, clear the topics, turn off wikis/projects/other unneeded features, etc. These are tasks covered by the "Administration" portion of the API, but I found out that not all parts of the API are runnable by Actions workflows.
I can understand why Actions don't support the "Administration" scope, since it's quite broad and powerful. Still, it would be great to be able to do certain innocuous/safe parts of it -- like changing the repo description -- from Actions.
I guess the update a repo endpoint does have some things that you wouldn't want Actions rapidly enabling/disabling, like
has_issues
orhas_wiki
. Maybe it warrants consideration of splitting up some of these things into separate endpoints/scopes/permissions.Beta Was this translation helpful? Give feedback.
All reactions