From aebd0bfa3e63f774e1288f253c6b83b8c12ebb1a Mon Sep 17 00:00:00 2001 From: shinny-mayanqiong Date: Wed, 21 Jul 2021 16:28:25 +0800 Subject: [PATCH] create pr --- .github/workflows/run-tqsdk.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/run-tqsdk.yml b/.github/workflows/run-tqsdk.yml index 9ae61d5..8aca702 100644 --- a/.github/workflows/run-tqsdk.yml +++ b/.github/workflows/run-tqsdk.yml @@ -303,6 +303,40 @@ jobs: SOURCE_DIR: "build/doc" DEST_DIR: ${{ env.DOC_DIR }} + tqsdk-python: + name: tqsdk-python commit and pr + needs: deploy-on-linux + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + repository: shinny-mayanqiong/learn_svg + ref: master + token: ${{ secrets.GH_PAT }} + + - name: Download sdist + uses: actions/download-artifact@v2 + with: + name: sdist-file + path: ../ + + - name: unzip + shell: bash + run: | + cd .. + tar -x -f *.tar.gz + cp -R "tqsdk-${{ github.event.client_payload.tag_name }}/" tqsdk-ci + cd tqsdk-ci + git status + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + commit-message: "Update Version ${{ github.event.client_payload.tag_name }}" + branch-suffix: short-commit-hash + title: '[Tqsdk-Ci] Update Version ${{ github.event.client_payload.tag_name }}' + summary: name: summary CI result needs: deploy-on-linux