From e2ec30d9969148603724fcd31ebb9bc438fccbe6 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Wed, 18 Dec 2024 12:05:22 -0300 Subject: [PATCH] download Micronaut bom with dependabot --- .github/workflows/merge.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 7f38cabd..a80450e1 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -20,3 +20,17 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + if: steps.dependabot-metadata.outputs.dependency-names == 'io.micronaut.platform:micronaut-platform' + - uses: jhipster/actions/setup-git@v0 + if: steps.dependabot-metadata.outputs.dependency-names == 'io.micronaut.platform:micronaut-platform' + - name: download bom + run: | + wget -O micronaut-platform.pom https://repo1.maven.org/maven2/io/micronaut/platform/micronaut-platform/${{ steps.dependabot-metadata.outputs.new-version }}/micronaut-platform-${{ steps.dependabot-metadata.outputs.new-version }}.pom + git add . + git commit -a -m "update micronaut-platform bom to v${{ steps.dependabot-metadata.outputs.new-version }}" + git push -u origin + working-directory: generators/micronaut/resources + if: steps.dependabot-metadata.outputs.dependency-names == 'io.micronaut.platform:micronaut-platform'