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

Accept user param for cirun cli to adding access to resource #2194

Open
aktech opened this issue Dec 18, 2024 · 0 comments
Open

Accept user param for cirun cli to adding access to resource #2194

aktech opened this issue Dec 18, 2024 · 0 comments

Comments

@aktech
Copy link
Contributor

aktech commented Dec 18, 2024

As discussed here conda-forge/.cirun#25 (comment) with @jaimergp

At the moment conda-smithy doesn't passes users in the call to cirun.add_repo_to_resources:

response = cirun.add_repo_to_resources(

To add a specific set of users access to a resource (cirun github actions runner) for a repository.
See https://py.cirun.io/api.html#parameters

It would be great to add this param in the cli like --cirun-users, so that it can be used in the admin-requests here: https://github.com/conda-forge/admin-requests/blob/9829bac218b6726d2a7b29a9d9f8d7d22f3084d7/conda_forge_admin_requests/access_control.py#L155

Such that pull requests like these: conda-forge/.cirun#25 can be automatically created by @cirun-bot when admin requests calls conda-smithy with this param, which in turn passes it to cirun client.

Relevant issue in admin-requests: conda-forge/admin-requests#1237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant