Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Motivation and Context <!-- Thank you for your contribution to the chat-copilot repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> - The deployment workflows have a id-token permission at job level which overwrites the top-level. Not a problem if the repo is public but breaks it if you change to private as checkout can't find the repo. - The "stable" environment deployment needs to depend on the earlier builds for artifact names. Without them it, the "stable" deployment fails ### Description - Moving id-token up ensures both permissions apply. - Adding builds as "needs" for "stable" ensures dependencies are available for deployment ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [Contribution Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
- Loading branch information