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

Could we add new package to the corresponding organisation #4

Open
lpatiny opened this issue Aug 26, 2021 · 2 comments
Open

Could we add new package to the corresponding organisation #4

lpatiny opened this issue Aug 26, 2021 · 2 comments

Comments

@lpatiny
Copy link
Member

lpatiny commented Aug 26, 2021

Would it be possible that when we publish a new package with github actions the organisation 'cheminfo' is added automatically ?

@targos
Copy link
Member

targos commented Aug 29, 2021

There is a command: npm access grant <read-only|read-write> <org:team> [<package>]

https://docs.npmjs.com/managing-team-access-to-organization-packages#adding-package-access-to-a-team-using-the-cli

@targos
Copy link
Member

targos commented Aug 29, 2021

That said, it seems that automation tokens can only be used to publish packages, so it probably won't work if we call the command from a github action.

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

2 participants