API access to GitHub container settings for action access #45560
Replies: 5 comments 10 replies
-
link to the GitHub Package Registry API documentation is the following: look for about-the-github-packages-api This documentation includes information on how to use the API to manage packages in your GitHub repository, including the endpoint you've mentioned, /orgs/{org}/packages/container/{package_name}/settings/add_actions_access, which is used to give access to specific GitHub Actions workflows to a package |
Beta Was this translation helpful? Give feedback.
-
@electricgull did you manage to find a way to programmatically manage which repositories's Workflows have access to a certain package? On I noticed this in my Devtools network tab:
which I could (ab)use but was wondering if you had found a different solution. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
+1 for this to be added to the API. I have 20+ repos needing access to 60+ packages. That's 1200+ UI operations at least. |
Beta Was this translation helpful? Give feedback.
-
+1 we have 100 repositories with 50 nugget packages, there is no way anyone will maintain this manually. Currently the best option is to use your own / bot PAM token that has access instead of the one provided by github. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Is there documentation for the API that will allow me to add repositories access a package container? I see the following in the page source code, but can't find any documentation:
/orgs/{org}/packages/container/{package_name}/settings/add_actions_access
Beta Was this translation helpful? Give feedback.
All reactions