From 2f5de43a29bffc18a4fe89b0ee96d9f581fef98c Mon Sep 17 00:00:00 2001 From: olgavrou Date: Thu, 22 Dec 2022 12:42:04 -0500 Subject: [PATCH] ci: csharp benchmarks to run on master --- .github/workflows/dotnet_nugets.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dotnet_nugets.yml b/.github/workflows/dotnet_nugets.yml index d7cecda04e1..0623af2d23e 100644 --- a/.github/workflows/dotnet_nugets.yml +++ b/.github/workflows/dotnet_nugets.yml @@ -267,7 +267,7 @@ jobs: permissions: contents: write deployments: write - pull-requests: write + if: ${{ github.event_name == 'push' && github.ref_name == 'master' }} steps: - uses: actions/checkout@v2 with: @@ -364,5 +364,4 @@ jobs: auto-push: false github-token: ${{ secrets.GITHUB_TOKEN }} - name: Push results to gh-pages branch - if: ${{ github.event_name == 'push' && github.ref_name == 'master' }} run: git push 'https://VowpalWabbit:${{ secrets.GITHUB_TOKEN }}@github.com/VowpalWabbit/vowpal_wabbit.git' gh-pages:gh-pages