已合并
action上线适配:checkout改allow-unsafe-pr-checkout,revise-img改comment+TESTTOKEN #18
wangyunxiang创建于 9月17日
action上线适配:checkout改allow-unsafe-pr-checkout,revise-img改comment+TESTTOKEN #18
已合并
共 1 个文件变更+2-1
| @@ -40,7 +40,8 @@ stages: | |||
| 40 | with: | 40 | with: |
| 41 | repo_name: ${{ env.repo_name }} | 41 | repo_name: ${{ env.repo_name }} |
| 42 | target_branch: ${{ env.TARGET_BRANCH }} | 42 | target_branch: ${{ env.TARGET_BRANCH }} |
| 43 | - repo_url: ${{ vars.CI_PATH }} | 43 | + comment: ${{ atomgit.event.comment.body }} |
| 44 | + token: ${{ secrets.TESTTOKEN }} | ||
| 44 | runs-on: ['self-hosted', 'arch=x64', 'spec=small'] | 45 | runs-on: ['self-hosted', 'arch=x64', 'spec=small'] |
| 45 | container: | 46 | container: |
| 46 | image: swr.cn-north-4.myhuaweicloud.com/ci_cann/ubuntu20.04.05_x86:k8s_v1.1006 | 47 | image: swr.cn-north-4.myhuaweicloud.com/ci_cann/ubuntu20.04.05_x86:k8s_v1.1006 |