From a282df553b2bd71ed0687d3538b3c4973a0a0363 Mon Sep 17 00:00:00 2001 From: Joe Isaacs Date: Thu, 19 Mar 2026 16:09:03 +0000 Subject: [PATCH 1/2] chore[release]: add compat-gen-upload to release Signed-off-by: Joe Isaacs --- .github/workflows/compat-gen-upload.yml | 10 ++++++++++ .github/workflows/publish.yml | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/compat-gen-upload.yml b/.github/workflows/compat-gen-upload.yml index 8ba089fc26f..f9e28a85a6d 100644 --- a/.github/workflows/compat-gen-upload.yml +++ b/.github/workflows/compat-gen-upload.yml @@ -1,6 +1,16 @@ name: Compat Fixture Upload on: + workflow_call: + inputs: + git_ref: + description: "Git ref for version detection (e.g. v0.62.0). Defaults to HEAD." + required: false + type: string + confirm_upload: + description: "Set to 'yes' to confirm upload." + required: true + type: string workflow_dispatch: inputs: git_ref: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ccd8cee247..98ef17f1363 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -110,3 +110,10 @@ jobs: ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }} ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }} + + compat-upload: + uses: ./.github/workflows/compat-gen-upload.yml + with: + git_ref: ${{ github.event.release.tag_name }} + confirm_upload: "yes" + secrets: inherit From 043e3d98e81d5ca5cdcdccda4c5f90ce1c05ac59 Mon Sep 17 00:00:00 2001 From: Joe Isaacs Date: Fri, 20 Mar 2026 11:07:58 +0000 Subject: [PATCH 2/2] chore[release]: add compat-gen-upload to release Signed-off-by: Joe Isaacs --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98ef17f1363..b2678b02788 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -117,3 +117,6 @@ jobs: git_ref: ${{ github.event.release.tag_name }} confirm_upload: "yes" secrets: inherit + permissions: + id-token: write + contents: read