diff --git a/.github/workflows/increment-plugin-versions.yml b/.github/workflows/increment-plugin-versions.yml index 65ac0f28d9..09b62e6b5d 100644 --- a/.github/workflows/increment-plugin-versions.yml +++ b/.github/workflows/increment-plugin-versions.yml @@ -68,6 +68,10 @@ jobs: with: repository: opensearch-project/${{ matrix.entry.repo }} ref: ${{ matrix.branch }} + fetch-depth: 0 + - name: Attempt to reuse existing pull request in plugin repo + run: git checkout create-pull-request/${{ env.OPENSEARCH_VERSION }} + continue-on-error: true - name: Increment Version in ${{ matrix.entry.repo }} run: | echo "OpenSearch Core repo version on branch ${{ matrix.branch }} is ${{ env.OPENSEARCH_VERSION_NUMBER }}"