Skip to content

CI - Release candidate and hotfix branches #10

CI - Release candidate and hotfix branches

CI - Release candidate and hotfix branches #10

Workflow file for this run

# Workflow for continuous integration tasks triggered on push to a release candidate branch
name: CI - Release candidate and hotfix branches
run-name: CI - Release candidate and hotfix branches
on:
workflow_dispatch:
push:
branches: ["rc**", "hotfix**"]
jobs:
open-pull-request:
# Open a PR if the branch isn't release itself
if: ${{ github.head_ref || github.ref_name }} != 'release'

Check warning on line 13 in .github/workflows/ci-rc-hotfix.yml

View workflow run for this annotation

GitHub Actions / CI - Release candidate and hotfix branches

Workflow syntax warning

.github/workflows/ci-rc-hotfix.yml (Line: 13, Col: 9): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
uses: ./.github/workflows/job-open-pull-request.yml
with:
target: release
# Pass an empty string for args, which disables the default -d flag which creates the PR as a draft
args: