Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix unwanted ringing of other devices even though the user is already connected to the call. #379

Fix unwanted ringing of other devices even though the user is already connected to the call.

Fix unwanted ringing of other devices even though the user is already connected to the call. #379

name: Pull Request Base Branch
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
check_base_branch:
name: Check PR base branch
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const baseBranch = context.payload.pull_request.base.ref;
if (!['develop', 'staging'].includes(baseBranch) && !baseBranch.startsWith('feat/')) {
core.setFailed(`Invalid base branch: ${baseBranch}`);
}