Skip to content

KQL Validations running on 11524/merge #148

KQL Validations running on 11524/merge

KQL Validations running on 11524/merge #148

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-latest
env:
buildConfiguration: Release
dotnetSdkVersion: 6.0.x
PRNUM: ${{ github.event.pull_request.number }}
steps:
- uses: actions/checkout@v4
- 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 }}