From 32836834188358dc7ab793e256cd6d62bada43cc Mon Sep 17 00:00:00 2001 From: Anton Arnautov Date: Thu, 27 Feb 2025 12:01:11 +0100 Subject: [PATCH] chore: adjust release.yml - add condition for rc --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c205273fa..57be904d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: name: Release from "${{ github.ref_name }}" branch runs-on: ubuntu-latest # GH does not allow to limit branches in the workflow_dispatch settings so this here is a safety measure - if: ${{ inputs.dry_run || startsWith(github.ref_name, 'release') || startsWith(github.ref_name, 'master') }} + if: ${{ inputs.dry_run || github.ref_name == 'rc' || startsWith(github.ref_name, 'release') || startsWith(github.ref_name, 'master') }} steps: - name: Checkout uses: actions/checkout@v4