From 0ae200f1e746bb23eef2fc09846e8fdd32974a72 Mon Sep 17 00:00:00 2001 From: spring-builds Date: Fri, 17 Jul 2026 17:40:21 +0000 Subject: [PATCH] Update generated GitHub Actions workflow files [skip actions] --- .github/workflows/release-train-build.yml | 21 ++++++++------ .github/workflows/release-train-join.yml | 2 +- .github/workflows/release-train-leave.yml | 2 +- .github/workflows/release-train-ready.yml | 2 +- .github/workflows/release-train-retry.yml | 34 +++++++++++++++++++++++ .github/workflows/release-train-test.yml | 19 ++++++++----- 6 files changed, 62 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/release-train-retry.yml diff --git a/.github/workflows/release-train-build.yml b/.github/workflows/release-train-build.yml index 446b9574..e29683fd 100644 --- a/.github/workflows/release-train-build.yml +++ b/.github/workflows/release-train-build.yml @@ -1,4 +1,4 @@ -# This file was auto-generated by github-actions-workflow-generator 0.0.5. Do not edit. +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. # To update it, modify .github/workflow-generator.yml as needed and re-run the generator. name: "Release Train – Build" @@ -27,17 +27,22 @@ jobs: name: "Build Release" runs-on: "ubuntu22-2-8" steps: + - name: "Prevent Re-runs" + id: "prevent-re-runs" + run: |- + if [ "$GITHUB_RUN_ATTEMPT" -gt 1 ]; then + echo "Re-runs are prohibited. Use the 'Release Train – Retry' workflow to retry build failures" + exit 1 + fi - name: "Set up Java" id: "set-up-java" - uses: "actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520" # 5.4.0 + uses: "actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95" # v5.6.0 with: distribution: "liberica" java-version: "17" - name: "Check Out Code" id: "check-out-code" - uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # 7.0.0 - with: - ref: "${{ github.ref }}" + uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0 - name: "Build Release" id: "build-release" uses: "./.github/actions/release-train-build" @@ -50,13 +55,13 @@ jobs: RELEASE_TRAIN_MAVEN_REPOSITORY_USERNAME: "${{ secrets.RELEASE_TRAIN_PARTICIPANT_MAVEN_REPOSITORY_USERNAME }}" - name: "Upload Deployment Repository" id: "upload-deployment-repository" - uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # 7.0.1 + uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7.0.1 with: name: "deployment-repository" path: "deployment-repository/**" - name: "Upload Deployment Spec" id: "upload-deployment-spec" - uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # 7.0.1 + uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7.0.1 with: archive: "false" if-no-files-found: "ignore" @@ -64,7 +69,7 @@ jobs: path: ".github/actions/release-train-build/deployment-spec.yml" - name: "Save Build System Caches" id: "save-build-system-caches" - uses: "actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # 6.1.0 + uses: "actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # v6.1.0 with: key: "release-train-${{ inputs.callback-ref }}-${{ github.ref_name }}" path: "~/.m2/repository" diff --git a/.github/workflows/release-train-join.yml b/.github/workflows/release-train-join.yml index 4cd77d62..729914b3 100644 --- a/.github/workflows/release-train-join.yml +++ b/.github/workflows/release-train-join.yml @@ -1,4 +1,4 @@ -# This file was auto-generated by github-actions-workflow-generator 0.0.5. Do not edit. +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. # To update it, modify .github/workflow-generator.yml as needed and re-run the generator. name: "Release Train – Join" diff --git a/.github/workflows/release-train-leave.yml b/.github/workflows/release-train-leave.yml index b72b5ae4..bc0be671 100644 --- a/.github/workflows/release-train-leave.yml +++ b/.github/workflows/release-train-leave.yml @@ -1,4 +1,4 @@ -# This file was auto-generated by github-actions-workflow-generator 0.0.5. Do not edit. +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. # To update it, modify .github/workflow-generator.yml as needed and re-run the generator. name: "Release Train – Leave" diff --git a/.github/workflows/release-train-ready.yml b/.github/workflows/release-train-ready.yml index b351898d..794a29a6 100644 --- a/.github/workflows/release-train-ready.yml +++ b/.github/workflows/release-train-ready.yml @@ -1,4 +1,4 @@ -# This file was auto-generated by github-actions-workflow-generator 0.0.5. Do not edit. +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. # To update it, modify .github/workflow-generator.yml as needed and re-run the generator. name: "Release Train – Ready" diff --git a/.github/workflows/release-train-retry.yml b/.github/workflows/release-train-retry.yml new file mode 100644 index 00000000..539ccfd2 --- /dev/null +++ b/.github/workflows/release-train-retry.yml @@ -0,0 +1,34 @@ +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. +# To update it, modify .github/workflow-generator.yml as needed and re-run the generator. + +name: "Release Train – Retry" +run-name: "${{ inputs.release-train }} – Retry" +"on": + workflow_dispatch: + inputs: + release-train: + description: "Release train" + required: true + type: "string" + release-train-repository: + default: "spring-io/release-train" + description: "Release train repository" + required: true + type: "string" +permissions: + contents: "none" +jobs: + trigger-retry: + name: "Trigger Retry" + runs-on: "ubuntu-latest" + steps: + - name: "Trigger Retry" + id: "trigger-retry" + env: + GH_TOKEN: "${{ secrets.RELEASE_TRAIN_PARTICIPANT_GITHUB_TOKEN }}" + run: |- + gh workflow run retry \ + --repo ${{ inputs.release-train-repository }} \ + --ref ${{ inputs.release-train }} \ + --field release-branch=${{ github.ref_name }} \ + --field release-repository=${{ github.repository }} diff --git a/.github/workflows/release-train-test.yml b/.github/workflows/release-train-test.yml index 8663467e..7bf4ce08 100644 --- a/.github/workflows/release-train-test.yml +++ b/.github/workflows/release-train-test.yml @@ -1,4 +1,4 @@ -# This file was auto-generated by github-actions-workflow-generator 0.0.5. Do not edit. +# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit. # To update it, modify .github/workflow-generator.yml as needed and re-run the generator. name: "Release Train – Test" @@ -27,20 +27,25 @@ jobs: name: "Test Release" runs-on: "ubuntu22-2-8" steps: + - name: "Prevent Re-runs" + id: "prevent-re-runs" + run: |- + if [ "$GITHUB_RUN_ATTEMPT" -gt 1 ]; then + echo "Re-runs are prohibited. Use the 'Release Train – Retry' workflow to retry test failures" + exit 1 + fi - name: "Set up Java" id: "set-up-java" - uses: "actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520" # 5.4.0 + uses: "actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95" # v5.6.0 with: distribution: "liberica" java-version: "17" - name: "Check Out Code" id: "check-out-code" - uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # 7.0.0 - with: - ref: "${{ github.ref }}" + uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0 - name: "Restore Build System Caches" id: "restore-build-system-caches" - uses: "actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # 6.1.0 + uses: "actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # v6.1.0 with: key: "release-train-${{ inputs.callback-ref }}-${{ github.ref_name }}" path: "~/.m2/repository" @@ -70,7 +75,7 @@ jobs: - name: "Upload Build System Reports" id: "upload-build-system-reports" if: "${{ failure() }}" - uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # 7.0.1 + uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7.0.1 with: name: "build-system-reports" path: |-