Skip to content

Add a dotnet format check workflow#216

Merged
TaoChenOSU merged 6 commits intomicrosoft:mainfrom
TaoChenOSU:taochen/feature-dotnet-format-workflow
Aug 21, 2023
Merged

Add a dotnet format check workflow#216
TaoChenOSU merged 6 commits intomicrosoft:mainfrom
TaoChenOSU:taochen/feature-dotnet-format-workflow

Conversation

@TaoChenOSU
Copy link
Copy Markdown
Contributor

Motivation and Context

There is currently no C# format check workflow for PRs. There is a workflow step in copilot-build-backend.yml that checks the format for the webapi, but that happens after the build step.

There are two .Net projects in the repo (soon to be three). It's better to have a workflow that checks the format for the entire repo, instead of having multiple steps scattered around different workflows.

Description

Contribution Checklist

@TaoChenOSU TaoChenOSU self-assigned this Aug 18, 2023
@github-actions github-actions Bot added the github actions Pull requests that update GitHub Actions code label Aug 18, 2023
crickman
crickman previously approved these changes Aug 20, 2023
Comment thread .github/workflows/dotnet-format.yml Outdated
@TaoChenOSU TaoChenOSU added this pull request to the merge queue Aug 21, 2023
Merged via the queue into microsoft:main with commit 3877ea9 Aug 21, 2023
@TaoChenOSU TaoChenOSU deleted the taochen/feature-dotnet-format-workflow branch August 21, 2023 22:28
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat 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.
-->

There is currently no C# format check workflow for PRs. There is a
workflow step in copilot-build-backend.yml that checks the format for
the webapi, but that happens after the build step.

There are two .Net projects in the repo (soon to be three). It's better
to have a workflow that checks the format for the entire repo, instead
of having multiple steps scattered around different workflows.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### 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/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/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 😄
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat 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.
-->

There is currently no C# format check workflow for PRs. There is a
workflow step in copilot-build-backend.yml that checks the format for
the webapi, but that happens after the build step.

There are two .Net projects in the repo (soon to be three). It's better
to have a workflow that checks the format for the entire repo, instead
of having multiple steps scattered around different workflows.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### 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/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/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 😄
jdtoombs added a commit to jdtoombs/chat-copilot that referenced this pull request Apr 10, 2025
* extra validation for spec manager

* slight fix

* last fix

* update
jdtoombs pushed a commit to jdtoombs/chat-copilot that referenced this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github actions Pull requests that update GitHub Actions code

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants