chore: improve release and pre-release CI

This commit is contained in:
Ralph Khreish
2025-08-03 00:30:13 +03:00
parent e495b2b559
commit dcf49fc590
2 changed files with 23 additions and 15 deletions

View File

@@ -2,12 +2,20 @@ name: Pre-Release (RC)
on:
workflow_dispatch: # Allows manual triggering from GitHub UI/API
inputs:
branch:
description: 'Branch to create pre-release from (e.g., next, develop)'
required: false
default: 'next'
type: string
concurrency: pre-release-${{ github.ref }}
jobs:
rc:
runs-on: ubuntu-latest
# Only allow pre-releases on non-main branches
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with: