Skip to content

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher #35836

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher #35836

name: 'Check for Release Branch'
on:
pull_request:
types: [opened, edited, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch name
uses: actions/github-script@v6
if: github.base_ref == 'master'
with:
script: |
if(!context.payload.pull_request.head.ref.startsWith('release/') && context.payload.pull_request.head.ref !== 'develop' ) {
throw new Error(`Only "release/**" or "develop" branches can be merged to "master".`);
}