Open justinyoo opened 5 months ago
Hi @justinyoo thank you for your question, these are indeed worth considering now. We have already added these improvements to May's backlog and consider providing more flexibility and convenience for register CI/CD. We will ping you in time if there are any updates to this feature!
Hi, Team.
I've got a few questions around the GitHub Actions workflow template that registers API.
When I run the menu,
API Center: Register API
➡️CI/CD
➡️GitHub
, in VS Code, it keeps overwriting the existingregister-api.yml
file. There must be use cases that theregister-api.yml
is customised. However, it keeps overwriting. Is it by design?What's the purpose of this environment? Instead of setting it explicitly, can we leave it to the user? It's because every organisation has their different use case for the environment.
https://github.com/microsoft/vscode-azureapicenter/blob/3236dd2a8dc5ddceaffec7c9fe055b155c7e9d7c/templates/.github/cd.yml#L12-L14
Can we provide both azure credentials way and RBAC way? It's sort of azdevfied standard. So, instead of this
https://github.com/microsoft/vscode-azureapicenter/blob/3236dd2a8dc5ddceaffec7c9fe055b155c7e9d7c/templates/.github/cd.yml#L18-L26
I think it should be like this:
Should we use
vars
here? Can we useinputs
from theworkflow_dispatch
event instead, so that we can manually run this workflow through the gh CLI call, the REST API call or manual call directly on GitHub repo?https://github.com/microsoft/vscode-azureapicenter/blob/3236dd2a8dc5ddceaffec7c9fe055b155c7e9d7c/templates/.github/cd.yml#L36-L38