From 42e6fc54ddb9e3474f2a8633d7316c498334037f Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Mon, 18 Sep 2023 19:36:11 +0800 Subject: [PATCH] chore: ignore PR when Pre-releasing --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7cdd6c9..4a65a829 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -209,7 +209,7 @@ jobs: Upload-Prerelease: permissions: write-all - if: ${{ github.ref_type=='branch' }} + if: ${{ github.ref_type=='branch' && github.event_name != 'pull_request' }} needs: [Build] runs-on: ubuntu-latest steps: