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 }}"