diff --git a/.github/workflows/pb-update-spring-cloud-bindings-1.yml b/.github/workflows/pb-update-spring-cloud-bindings-1.yml index 27490ce..79ece0d 100644 --- a/.github/workflows/pb-update-spring-cloud-bindings-1.yml +++ b/.github/workflows/pb-update-spring-cloud-bindings-1.yml @@ -47,6 +47,7 @@ jobs: artifact_id: spring-cloud-bindings group_id: org.springframework.cloud uri: https://repo1.maven.org/maven2 + version_regex: ^1\.[\d]+\.[\d]+$ - name: Update Buildpack Dependency id: buildpack run: | @@ -95,7 +96,7 @@ jobs: SHA256: ${{ steps.dependency.outputs.sha256 }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} - VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+' + VERSION_PATTERN: ^1\.[\d]+\.[\d]+ - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> diff --git a/.github/workflows/pb-update-spring-cloud-bindings-2.yml b/.github/workflows/pb-update-spring-cloud-bindings-2.yml index 057add0..16f8911 100644 --- a/.github/workflows/pb-update-spring-cloud-bindings-2.yml +++ b/.github/workflows/pb-update-spring-cloud-bindings-2.yml @@ -47,6 +47,7 @@ jobs: artifact_id: spring-cloud-bindings group_id: org.springframework.cloud uri: https://repo1.maven.org/maven2 + version_regex: ^2\.[\d]+\.[\d]+$ - name: Update Buildpack Dependency id: buildpack run: | @@ -95,7 +96,7 @@ jobs: SHA256: ${{ steps.dependency.outputs.sha256 }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} - VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+' + VERSION_PATTERN: ^2\.[\d]+\.[\d]+ - uses: peter-evans/create-pull-request@v5 with: author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>