Compare commits

..

5 Commits

Author SHA1 Message Date
Ralph Khreish
97c1896499 chore: apply requested changes 2025-08-03 15:39:44 +03:00
Ralph Khreish
041a4970f2 chore: apply requested changes 2025-08-03 15:25:33 +03:00
Ralph Khreish
fcb25c2920 Update .github/workflows/pre-release.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-03 14:24:06 +02:00
Ralph Khreish
1686a30aa6 chore: apply requested changes 2025-08-03 15:18:49 +03:00
Ralph Khreish
dcf49fc590 chore: improve release and pre-release CI 2025-08-03 15:13:40 +03:00

View File

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