From d5878cd96091f1ac9dd3b9fb23a8bea28ccf6c5e Mon Sep 17 00:00:00 2001 From: Xiaoyun Zhang Date: Wed, 1 May 2024 17:16:26 -0700 Subject: [PATCH 1/2] Update dotnet-build.yml --- .github/workflows/dotnet-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml index 1735e71a8f1..b47a5ecd91a 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 }} @@ -157,4 +159,4 @@ jobs: ls -R ./output/nightly dotnet nuget push --api-key ${{ secrets.MYGET_TOKEN }} --source "https://www.myget.org/F/agentchat/api/v3/index.json" ./output/nightly/*.nupkg --skip-duplicate env: - MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }} \ No newline at end of file + MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }} From c54751a5ccf176e935bfc7b90543f113e4abc0e4 Mon Sep 17 00:00:00 2001 From: Xiaoyun Zhang Date: Wed, 1 May 2024 17:18:05 -0700 Subject: [PATCH 2/2] Update dotnet-build.yml --- .github/workflows/dotnet-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml index b47a5ecd91a..2e679412f63 100644 --- a/.github/workflows/dotnet-build.yml +++ b/.github/workflows/dotnet-build.yml @@ -33,9 +33,14 @@ jobs: filters: | dotnet: - "dotnet/**" + workflows: + - ".github/workflows/**" - name: dotnet has changes run: 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 Build runs-on: ubuntu-latest