Skip to content

CI - Release candidate and hotfix branches #15

CI - Release candidate and hotfix branches

CI - Release candidate and hotfix branches #15

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 to main if the branch isn't release itself
if: ${{ github.head_ref || github.ref_name != 'release' }}
uses: PSDI-UK/psdi-github-workflows-public/.github/workflows/open-pull-request.yml@b4c884a5fbaa96777c26f1ac6d4eac67531e2fc7
with:
target: release
# Pass an empty string for args, which disables the default -d flag which creates the PR as a draft
args:
secrets:
token: ${{ secrets.GITHUB_TOKEN }}