DOC-4473 DOC-4463 DOC-4468 DOC-4478 DOC-4483 DOC-4488 added examples for list command pages #828
Workflow file for this run
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
| name: Format check on pull request | |
| on: pull_request | |
| concurrency: | |
| group: ${{ github.event.pull_request.number || github.ref }}-linter | |
| cancel-in-progress: true | |
| jobs: | |
| dotnet-format: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Install dotnet-format | |
| run: dotnet tool install -g dotnet-format | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: lint | |
| run: | | |
| dotnet format | |
| - name: Check for modified files | |
| run: | | |
| if (git status | Select-String -Pattern 'modified') { | |
| Write-Host "Modified files found. Please run dotnet format and commit the changes." | |
| exit 1 | |
| } else { | |
| Write-Host "No modified files found." | |
| } |