A programming framework for agentic AI
Update dotnet-build.yml to add merge_group trigger (#2567)
Xiaoyun Zhang1f501b210c62
diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.ymlindex 1735e71a8..2e679412f 100644--- a/.github/workflows/dotnet-build.yml+++ b/.github/workflows/dotnet-build.yml@@ -9,6 +9,8 @@ on:branches: [ "main" ]push:branches: [ "main" ]+ merge_group:+ types: [checks_requested]concurrency:group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}@@ -31,9 +33,14 @@ jobs:filters: |dotnet:- "dotnet/**"+ workflows:+ - ".github/workflows/**"- name: dotnet has changesrun: echo "dotnet has changes"if: steps.filter.outputs.dotnet == 'true'+ - name: workflows has changes+ run: echo "workflows has changes"+ if: steps.filter.outputs.workflows == 'true'build:name: Dotnet Buildruns-on: ubuntu-latest@@ -157,4 +164,4 @@ jobs:ls -R ./output/nightlydotnet nuget push --api-key ${{ secrets.MYGET_TOKEN }} --source "https://www.myget.org/F/agentchat/api/v3/index.json" ./output/nightly/*.nupkg --skip-duplicateenv:- MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }}\ No newline at end of file+ MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }}