Added a new workbook for Microsoft Copilot Activity Monitoring #7818
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: KQL Validations | |
| run-name: KQL Validations running on ${{ github.ref_name }} | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| # Allows to run workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| KqlValidations: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| buildConfiguration: Release | |
| dotnetSdkVersion: 6.0.x | |
| PRNUM: ${{ github.event.pull_request.number }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 # Need HEAD and parent for git diff | |
| - name: Use .NET Core SDK ${{ env.dotnetSdkVersion }} | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ env.dotnetSdkVersion }} | |
| - name: Run KQL Validation tests | |
| run: dotnet test .script/tests/KqlvalidationsTests/Kqlvalidations.Tests.csproj --configuration ${{ env.buildConfiguration }} | |
| env: | |
| GITHUBAPPID: ${{ secrets.APPLICATION_ID }} | |
| GITHUBAPPINSTALLATIONID: ${{ secrets.APPLICATION_INSTALLATION_ID }} | |
| GITHUBAPPPRIVATEKEY: ${{ secrets.APPLICATION_PRIVATE_KEY }} | |
| SYSTEM_PULLREQUEST_ISFORK: ${{ github.event.pull_request.head.repo.fork }} | |