From ddf28f73cf4073a1072d11cdc6c2627e111e8489 Mon Sep 17 00:00:00 2001 From: Maria Ines Parnisari Date: Mon, 20 Jul 2026 11:49:01 -0700 Subject: [PATCH] build: support manual runs of the release workflows --- .github/workflows/release-windows.yml | 7 +++++++ .github/workflows/release.yaml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 6437381f..82432e10 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -4,6 +4,12 @@ on: # yamllint disable-line rule:truthy push: tags: - "v[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: + inputs: + tag: + description: "Existing tag to release (e.g. v1.2.3)" + required: true + type: "string" permissions: contents: "write" packages: "write" @@ -14,6 +20,7 @@ jobs: - uses: "actions/checkout@v6" with: fetch-depth: 0 + ref: "${{ inputs.tag || github.ref }}" - uses: "authzed/actions/setup-go@main" - uses: "nowsprinting/check-version-format-action@v5" id: "version" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5d3ccf62..17c6beca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,12 @@ on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: + inputs: + tag: + description: "Existing tag to release (e.g. v1.2.3)" + required: true + type: "string" jobs: github: @@ -12,6 +18,7 @@ jobs: - uses: "actions/checkout@v6" with: fetch-depth: 0 + ref: "${{ inputs.tag || github.ref }}" - name: "Install cross-compilers" run: | brew tap messense/macos-cross-toolchains @@ -53,6 +60,7 @@ jobs: - uses: "actions/checkout@v6" with: fetch-depth: 0 + ref: "${{ inputs.tag || github.ref }}" - uses: "authzed/actions/docker-login@main" with: quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"