From 872b16b7790f1288adee829e45469b380f08b855 Mon Sep 17 00:00:00 2001 From: Junyan Qin <1010553892@qq.com> Date: Wed, 27 Dec 2023 16:00:18 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=88=A0=E9=99=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-pr.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index b699d406..d36f6656 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -41,19 +41,7 @@ jobs: cd qcg-tester python -m pip install --upgrade pip pip install -r requirements.txt - # - name: Get PR details - # if: github.event_name == 'issue_comment' - # id: get-pr - # uses: octokit/request-action@v2.x - # with: - # route: GET /repos/${{ github.repository }}/pulls/${{ github.event.issue.number }} - # mediaType: '{"previews": ["shadow-cat"]}' - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # - name: Set Got PR Branch as bash env - # if: github.event_name == 'issue_comment' - # run: | - # echo "BRANCH=${{ steps.get-pr.outputs.data.head.ref }}" >> $GITHUB_ENV + - name: Get PR details id: get-pr if: github.event_name == 'issue_comment'