From e9a14125d6a3c3a471b244e615ecb3098a4acad7 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Tue, 13 Jul 2021 15:22:43 +0800 Subject: [PATCH] Fix github action step error (#6471) Signed-off-by: quicksilver --- .github/workflows/publish-builder.yaml | 2 ++ .github/workflows/publish-test-images.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index b183ba94ad..a5f55d00d4 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -65,6 +65,7 @@ jobs: id: cpr if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04' continue-on-error: true + uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> @@ -77,6 +78,7 @@ jobs: Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com - name: Check outputs + if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04' run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" diff --git a/.github/workflows/publish-test-images.yaml b/.github/workflows/publish-test-images.yaml index 38d58de904..e83a786bd9 100644 --- a/.github/workflows/publish-test-images.yaml +++ b/.github/workflows/publish-test-images.yaml @@ -69,6 +69,7 @@ jobs: id: cpr if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' continue-on-error: true + uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> @@ -81,6 +82,7 @@ jobs: Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com - name: Check outputs + if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"