Open cbdog94 opened 12 months ago
Thanks for reaching out! You can't directly add a branch to this project because that's not how workflows on GitHub generally happen. If you want to make a code contribution to someone else's project, that needs to be done via Pull Request. If you'd like to learn how, here's a good guide to get started: https://makeapullrequest.com/
However, I think the best thing to do here to account for all situations is to generate a random name at the start of the process and then unregister it at the end, rather than potentially breaking some other process on the runner that depends on the existing repo. I'll include a fix in the next version.
I have run into this error when I use this action multiple time in one workflow. The subsequent calls fail because the "nuget" repository is already registered. I used New-GUID
to ensure we get a unique name each time the action is run.
It happened for self hosted runner sometimes, that "Nuget" already registered in PSResourceRepository when trying to publish.
I want to contribute following code and seems I don't have permission to push a new branch.