Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/on-rc-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
Loading