Skip to content

Commit aebd0bf

Browse files
create pr
1 parent 6c4df5f commit aebd0bf

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/run-tqsdk.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,40 @@ jobs:
303303
SOURCE_DIR: "build/doc"
304304
DEST_DIR: ${{ env.DOC_DIR }}
305305

306+
tqsdk-python:
307+
name: tqsdk-python commit and pr
308+
needs: deploy-on-linux
309+
runs-on: ubuntu-latest
310+
steps:
311+
- name: Checkout
312+
uses: actions/checkout@v2
313+
with:
314+
repository: shinny-mayanqiong/learn_svg
315+
ref: master
316+
token: ${{ secrets.GH_PAT }}
317+
318+
- name: Download sdist
319+
uses: actions/download-artifact@v2
320+
with:
321+
name: sdist-file
322+
path: ../
323+
324+
- name: unzip
325+
shell: bash
326+
run: |
327+
cd ..
328+
tar -x -f *.tar.gz
329+
cp -R "tqsdk-${{ github.event.client_payload.tag_name }}/" tqsdk-ci
330+
cd tqsdk-ci
331+
git status
332+
333+
- name: Create Pull Request
334+
uses: peter-evans/create-pull-request@v3
335+
with:
336+
commit-message: "Update Version ${{ github.event.client_payload.tag_name }}"
337+
branch-suffix: short-commit-hash
338+
title: '[Tqsdk-Ci] Update Version ${{ github.event.client_payload.tag_name }}'
339+
306340
summary:
307341
name: summary CI result
308342
needs: deploy-on-linux

0 commit comments

Comments
 (0)