Standardize build-docs shell to bash for SarifMark consistency#72
Merged
Malcolmnixon merged 4 commits intomainfrom Jan 28, 2026
Merged
Standardize build-docs shell to bash for SarifMark consistency#72Malcolmnixon merged 4 commits intomainfrom
Malcolmnixon merged 4 commits intomainfrom
Conversation
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve project build consistency and report printing
Standardize build-docs shell to bash for SarifMark consistency
Jan 28, 2026
Malcolmnixon
requested changes
Jan 28, 2026
.github/workflows/build.yaml
Outdated
| --report-depth 1 | ||
| shell: bash | ||
| run: > | ||
| sarifmark |
Contributor
There was a problem hiding this comment.
The sarifmark tool still needs to be run using 'dotnet sarifmark' as it's installed locally via the dotnet-tools.json file in this project. This isn't needed for the 'sonarmark' tool later as that one is installed globally in this project.
Contributor
Author
There was a problem hiding this comment.
Fixed in 7ee3bfd. Changed to dotnet sarifmark since it's installed locally via dotnet-tools.json, while sonarmark remains directly callable as it's installed globally.
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Malcolmnixon
approved these changes
Jan 28, 2026
Malcolmnixon
approved these changes
Jan 28, 2026
This was referenced Feb 2, 2026
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Aligns build-docs job with SarifMark's workflow patterns. All shell-dependent steps now use bash explicitly instead of mixed PowerShell, ensuring consistent cross-platform behavior and maintainability between sister projects.
Changes:
pwsh→bashfor install, generate, and display steps$env:SONAR_TOKEN→$SONAR_TOKENGet-Content→catdotnet sarifmark(local tool via dotnet-tools.json) andsonarmark(globally installed)Type of Change
Related Issues
N/A
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration ReleaseCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint '**/*.{yml,yaml}'Testing
Documentation
Additional Notes
Workflow-only change. No code or test modifications required. YAML validated with yamllint. CodeQL security scan passed.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.