From 8aa83886a76a32eb16168f218c0f73e531fc291f Mon Sep 17 00:00:00 2001 From: Manasjyoti Sharma Date: Thu, 2 Jul 2026 13:16:19 +0530 Subject: [PATCH] ci: remove deprecated rc_tag release input --- .github/workflows/on-rc-tag.yml | 10 +++------- .github/workflows/publish-release.yml | 9 +++------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/on-rc-tag.yml b/.github/workflows/on-rc-tag.yml index 53a4ab8..163c4d9 100644 --- a/.github/workflows/on-rc-tag.yml +++ b/.github/workflows/on-rc-tag.yml @@ -14,17 +14,14 @@ on: inputs: release_tag: description: 'SDK release tag to validate (e.g. v1.0.0rc1 or v1.0.0)' - required: false - rc_tag: - description: 'Deprecated alias for release_tag' - required: false + required: true permissions: contents: read statuses: read concurrency: - group: sdk-release-gate-${{ inputs.release_tag || inputs.rc_tag || github.ref_name }} + group: sdk-release-gate-${{ inputs.release_tag || github.ref_name }} cancel-in-progress: false jobs: @@ -40,7 +37,7 @@ jobs: run: | set -euo pipefail if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then - RELEASE_TAG="${{ inputs.release_tag || inputs.rc_tag }}" + RELEASE_TAG="${{ inputs.release_tag }}" else RELEASE_TAG="${{ github.ref_name }}" fi @@ -81,7 +78,6 @@ jobs: repos/FortifyRoot/fr-system-tests/dispatches \ -f event_type=sdk_rc \ -F "client_payload[release_tag]=${RELEASE_TAG}" \ - -F "client_payload[rc_tag]=${RELEASE_TAG}" \ -F "client_payload[tag_kind]=${TAG_KIND}" \ -F "client_payload[status_nonce]=${STATUS_NONCE}" \ -F "client_payload[repo]=FortifyRoot/ocelle-py" diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 79698ef..9e63eed 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -9,10 +9,7 @@ on: inputs: release_tag: description: 'SDK release tag that passed the gate (e.g. v1.0.0rc1 or v1.0.0)' - required: false - rc_tag: - description: 'Deprecated alias for release_tag' - required: false + required: true pypi_repository: description: 'PyPI repository (testpypi for rc, pypi for final)' required: false @@ -24,7 +21,7 @@ permissions: jobs: publish: - name: Publish ${{ inputs.release_tag || inputs.rc_tag }} to ${{ inputs.pypi_repository }} + name: Publish ${{ inputs.release_tag }} to ${{ inputs.pypi_repository }} runs-on: ubuntu-latest timeout-minutes: 30 environment: @@ -33,7 +30,7 @@ jobs: - name: Validate release tag and target repository id: tag env: - RELEASE_TAG: ${{ inputs.release_tag || inputs.rc_tag }} + RELEASE_TAG: ${{ inputs.release_tag }} PYPI_REPOSITORY: ${{ inputs.pypi_repository }} run: | set -euo pipefail