From 5ada8cb6f7ffac9afa841f4de220d8b439765628 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 23:22:56 +0000 Subject: [PATCH 1/3] chore(deps): bump org.springdoc:springdoc-openapi-starter-webmvc-ui Bumps [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://github.com/springdoc/springdoc-openapi) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/springdoc/springdoc-openapi/releases) - [Changelog](https://github.com/springdoc/springdoc-openapi/blob/v3.0.3/CHANGELOG.md) - [Commits](https://github.com/springdoc/springdoc-openapi/compare/v3.0.2...v3.0.3) --- updated-dependencies: - dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-ui dependency-version: 3.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0a6b798..207d665 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ org.springdoc springdoc-openapi-starter-webmvc-ui - 3.0.2 + 3.0.3 From 67a74431230f958e1c8e3025cf5e4100f13fa6e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 23:23:58 +0000 Subject: [PATCH 2/3] chore(deps): bump softprops/action-gh-release from 2.6.1 to 3.0.0 Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/maven-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-cd.yml b/.github/workflows/maven-cd.yml index aa2fa90..770b67c 100644 --- a/.github/workflows/maven-cd.yml +++ b/.github/workflows/maven-cd.yml @@ -137,7 +137,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Create GitHub Release - uses: softprops/action-gh-release@v2.6.1 + uses: softprops/action-gh-release@v3.0.0 with: name: "v${{ steps.tag.outputs.semver }} - ${{ steps.tag.outputs.club }} 🏆" body: | From fa237d28857e666273da7dc8420e21fec26430b0 Mon Sep 17 00:00:00 2001 From: Nano Taboada Date: Tue, 14 Apr 2026 01:44:06 -0300 Subject: [PATCH 3/3] chore(deps): bump actions/checkout from 6 to 6.0.2 --- .github/workflows/maven-cd.yml | 306 ++++++++++++++++----------------- 1 file changed, 153 insertions(+), 153 deletions(-) diff --git a/.github/workflows/maven-cd.yml b/.github/workflows/maven-cd.yml index 770b67c..8e7d5fa 100644 --- a/.github/workflows/maven-cd.yml +++ b/.github/workflows/maven-cd.yml @@ -4,160 +4,160 @@ name: Java CD on: - push: - tags: - - "v*.*.*-*" + push: + tags: + - "v*.*.*-*" env: - JAVA_VERSION: 25 + JAVA_VERSION: 25 jobs: - test: - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Set up OpenJDK ${{ env.JAVA_VERSION }} - uses: actions/setup-java@v5.2.0 - with: - java-version: ${{ env.JAVA_VERSION }} - distribution: "temurin" - cache: "maven" - - - name: Compile and verify with Maven - run: ./mvnw clean verify - - release: - needs: test - runs-on: ubuntu-latest - permissions: - contents: write - packages: write - id-token: write - attestations: write - - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Verify tag commit is reachable from master - run: | - if ! git merge-base --is-ancestor "${{ github.sha }}" origin/master; then - echo "❌ Tag commit ${{ github.sha }} is not reachable from origin/master" - exit 1 - fi - echo "✅ Tag commit ${{ github.sha }} is reachable from origin/master" - - - name: Extract and validate tag components - id: tag - run: | - TAG="${GITHUB_REF#refs/tags/}" - echo "Full tag: $TAG" - - SEMVER=$(echo "$TAG" | sed -E 's/^v([0-9]+\.[0-9]+\.[0-9]+)-.+$/\1/') - CLUB=$(echo "$TAG" | sed -E 's/^v[0-9]+\.[0-9]+\.[0-9]+-(.+)$/\1/') - - VALID_CLUBS="arsenal barcelona chelsea dortmund everton flamengo galatasaray hamburg inter juventus kaiserslautern liverpool manchesterutd napoli olympique psg qpr realmadrid sevilla tottenham union valencia werder xerez youngboys zenit" - - if ! echo "$SEMVER" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then - echo "❌ Invalid semver: $SEMVER" - exit 1 - fi - - if ! echo "$VALID_CLUBS" | grep -qw "$CLUB"; then - echo "❌ Invalid club name: $CLUB" - echo "Valid clubs: $VALID_CLUBS" - exit 1 - fi - - echo "semver=$SEMVER" >> "$GITHUB_OUTPUT" - echo "club=$CLUB" >> "$GITHUB_OUTPUT" - echo "✅ Tag: v$SEMVER - $CLUB" - - - name: Log in to GitHub Container Registry - uses: docker/login-action@v4.1.0 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4.0.0 - - - name: Build and push Docker image to GitHub Container Registry - id: push - uses: docker/build-push-action@v7.1.0 - with: - context: . - push: true - platforms: linux/amd64,linux/arm64 - provenance: mode=max - cache-from: type=gha - cache-to: type=gha,mode=max - tags: | - ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.semver }} - ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.club }} - - - name: Attest build provenance - uses: actions/attest-build-provenance@v4.1.0 - with: - subject-name: ghcr.io/${{ github.repository }} - subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true - - - name: Generate changelog - id: changelog - run: | - CURRENT_TAG="${GITHUB_REF#refs/tags/}" - PREVIOUS_TAG=$(git tag --sort=-version:refname | grep -Fxv "$CURRENT_TAG" | head -n 1) - if [ -n "$PREVIOUS_TAG" ]; then - CHANGELOG=$(git log "$PREVIOUS_TAG"..HEAD --pretty=format:"- %s (%h)" --no-merges) - else - CHANGELOG=$(git log --pretty=format:"- %s (%h)" --no-merges) - fi - - if [ -z "$CHANGELOG" ]; then - if [ -n "$PREVIOUS_TAG" ]; then - CHANGELOG="No new changes since $PREVIOUS_TAG" - else - CHANGELOG="No changes (first release)" - fi - fi - - { - echo "content<> "$GITHUB_OUTPUT" - - - name: Create GitHub Release - uses: softprops/action-gh-release@v3.0.0 - with: - name: "v${{ steps.tag.outputs.semver }} - ${{ steps.tag.outputs.club }} 🏆" - body: | - ## What's Changed - - ${{ steps.changelog.outputs.content }} - - ## Docker - - ```bash - # By semantic version (recommended) - docker pull ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.semver }} - - # By club name - docker pull ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.club }} - - # Latest - docker pull ghcr.io/${{ github.repository }}:latest - ``` - - draft: false - prerelease: false - generate_release_notes: true + test: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@v6.0.2 + + - name: Set up OpenJDK ${{ env.JAVA_VERSION }} + uses: actions/setup-java@v5.2.0 + with: + java-version: ${{ env.JAVA_VERSION }} + distribution: "temurin" + cache: "maven" + + - name: Compile and verify with Maven + run: ./mvnw clean verify + + release: + needs: test + runs-on: ubuntu-latest + permissions: + contents: write + packages: write + id-token: write + attestations: write + + steps: + - name: Checkout repository + uses: actions/checkout@v6.0.2 + with: + fetch-depth: 0 + + - name: Verify tag commit is reachable from master + run: | + if ! git merge-base --is-ancestor "${{ github.sha }}" origin/master; then + echo "❌ Tag commit ${{ github.sha }} is not reachable from origin/master" + exit 1 + fi + echo "✅ Tag commit ${{ github.sha }} is reachable from origin/master" + + - name: Extract and validate tag components + id: tag + run: | + TAG="${GITHUB_REF#refs/tags/}" + echo "Full tag: $TAG" + + SEMVER=$(echo "$TAG" | sed -E 's/^v([0-9]+\.[0-9]+\.[0-9]+)-.+$/\1/') + CLUB=$(echo "$TAG" | sed -E 's/^v[0-9]+\.[0-9]+\.[0-9]+-(.+)$/\1/') + + VALID_CLUBS="arsenal barcelona chelsea dortmund everton flamengo galatasaray hamburg inter juventus kaiserslautern liverpool manchesterutd napoli olympique psg qpr realmadrid sevilla tottenham union valencia werder xerez youngboys zenit" + + if ! echo "$SEMVER" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then + echo "❌ Invalid semver: $SEMVER" + exit 1 + fi + + if ! echo "$VALID_CLUBS" | grep -qw "$CLUB"; then + echo "❌ Invalid club name: $CLUB" + echo "Valid clubs: $VALID_CLUBS" + exit 1 + fi + + echo "semver=$SEMVER" >> "$GITHUB_OUTPUT" + echo "club=$CLUB" >> "$GITHUB_OUTPUT" + echo "✅ Tag: v$SEMVER - $CLUB" + + - name: Log in to GitHub Container Registry + uses: docker/login-action@v4.1.0 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v4.0.0 + + - name: Build and push Docker image to GitHub Container Registry + id: push + uses: docker/build-push-action@v7.1.0 + with: + context: . + push: true + platforms: linux/amd64,linux/arm64 + provenance: mode=max + cache-from: type=gha + cache-to: type=gha,mode=max + tags: | + ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.semver }} + ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.club }} + + - name: Attest build provenance + uses: actions/attest-build-provenance@v4.1.0 + with: + subject-name: ghcr.io/${{ github.repository }} + subject-digest: ${{ steps.push.outputs.digest }} + push-to-registry: true + + - name: Generate changelog + id: changelog + run: | + CURRENT_TAG="${GITHUB_REF#refs/tags/}" + PREVIOUS_TAG=$(git tag --sort=-version:refname | grep -Fxv "$CURRENT_TAG" | head -n 1) + if [ -n "$PREVIOUS_TAG" ]; then + CHANGELOG=$(git log "$PREVIOUS_TAG"..HEAD --pretty=format:"- %s (%h)" --no-merges) + else + CHANGELOG=$(git log --pretty=format:"- %s (%h)" --no-merges) + fi + + if [ -z "$CHANGELOG" ]; then + if [ -n "$PREVIOUS_TAG" ]; then + CHANGELOG="No new changes since $PREVIOUS_TAG" + else + CHANGELOG="No changes (first release)" + fi + fi + + { + echo "content<> "$GITHUB_OUTPUT" + + - name: Create GitHub Release + uses: softprops/action-gh-release@v3.0.0 + with: + name: "v${{ steps.tag.outputs.semver }} - ${{ steps.tag.outputs.club }} 🏆" + body: | + ## What's Changed + + ${{ steps.changelog.outputs.content }} + + ## Docker + + ```bash + # By semantic version (recommended) + docker pull ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.semver }} + + # By club name + docker pull ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.club }} + + # Latest + docker pull ghcr.io/${{ github.repository }}:latest + ``` + + draft: false + prerelease: false + generate_release_notes: true