From e3e7d76b7051962383c2e55b4d6c61f00a390366 Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Tue, 4 Nov 2025 09:30:45 -0700 Subject: [PATCH] Add Workflow to Finalize a Release --- .github/workflows/finalize-release.yml | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/finalize-release.yml diff --git a/.github/workflows/finalize-release.yml b/.github/workflows/finalize-release.yml new file mode 100644 index 0000000000..5be1317e07 --- /dev/null +++ b/.github/workflows/finalize-release.yml @@ -0,0 +1,41 @@ +name: Finalize Release + +on: + workflow_dispatch: # Manual trigger + +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + +permissions: + contents: read + +jobs: + project-version: + runs-on: ubuntu-latest + outputs: + version: ${{ steps.project-version.outputs.version }} + steps: + - id: project-version + run: echo "version=$(grep '^version=' gradle.properties | cut -d'=' -f2)" >> $GITHUB_OUTPUT + perform-release: + name: Perform Release + needs: [ project-version ] + uses: spring-io/spring-security-release-tools/.github/workflows/perform-release.yml@v1 + with: + should-perform-release: true + project-version: ${{ needs.project-version.outputs.version }} + milestone-repo-url: https://repo1.maven.org/maven2 + release-repo-url: https://repo1.maven.org/maven2 + artifact-path: org/springframework/security/spring-security-core + slack-announcing-id: spring-security-announcing + secrets: inherit + send-notification: + name: Send Notification + needs: [ perform-release ] + if: ${{ !success() }} + runs-on: ubuntu-latest + steps: + - name: Send Notification + uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1 + with: + webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }}