From 14dc5c3ffe4afa1c5fd58c11fd26a95f20600e6f Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Sun, 3 Aug 2025 16:20:13 +0300 Subject: [PATCH] chore: improve pre-release CI to just use dropdown --- .github/workflows/pre-release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index db52d557..d6d59006 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -2,24 +2,18 @@ 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 }} + ref: ${{ github.ref }} - uses: actions/setup-node@v4 with: @@ -66,5 +60,5 @@ jobs: uses: actions-js/push@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ inputs.branch || github.ref_name }} + branch: ${{ github.ref_name }} message: "chore: rc version bump"