From 764f2f1e3674ebec3c3bad631b053256b027b0a3 Mon Sep 17 00:00:00 2001 From: metesaka Date: Thu, 30 Jan 2025 15:47:43 -0700 Subject: [PATCH] fix v2 to solve pr issue --- .github/workflows/builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9ab0a5b5..0a69928d 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -9,7 +9,7 @@ on: branches: - master - v1.* - pull_request_target: + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -66,7 +66,7 @@ jobs: extensions.zip - name: comment artifact # if the trigger is on a pull request - if: ${{ github.event_name == 'pull_request_target' && matrix.python-version == env.RELEASE_PYTHON_VERSION }} + if: ${{ github.event_name == 'pull_request' && matrix.python-version == env.RELEASE_PYTHON_VERSION }} uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ github.event.number }}