ci: 删除注释

This commit is contained in:
Junyan Qin 2023-12-27 16:00:18 +00:00
parent 9f3cc9c293
commit 872b16b779

View File

@ -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'