Compare commits

...

2 Commits

Author SHA1 Message Date
Ralph Khreish
12d6c525e1 chore: implement requested changes 2025-08-03 16:54:14 +03:00
Ralph Khreish
14dc5c3ffe chore: improve pre-release CI to just use dropdown 2025-08-03 16:20:13 +03:00

View File

@@ -2,24 +2,17 @@ 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_name }}
jobs:
rc:
runs-on: ubuntu-latest
# Only allow pre-releases on non-main branches
if: github.ref != 'refs/heads/main' && inputs.branch != 'main'
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.branch || github.ref }}
- uses: actions/setup-node@v4
with:
@@ -66,5 +59,5 @@ jobs:
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ inputs.branch || github.ref_name }}
branch: ${{ github.ref }}
message: "chore: rc version bump"