Skip to content

SDK-4182 Prompt for push permission in JSInterface #188

SDK-4182 Prompt for push permission in JSInterface

SDK-4182 Prompt for push permission in JSInterface #188

name: Validate PR from task branch to develop branch
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- develop
permissions: write-all
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Set up Xcode
if: always()
uses: ./.github/mini_flows/setup_xcode
- name: Install dependencies
if: always()
uses: ./.github/mini_flows/install_dependencies
- name: Build project
if: always()
uses: ./.github/mini_flows/build_project
- name: Run tests
if: always()
uses: ./.github/mini_flows/run_tests
- name: Validate PR Title
if: always()
run: |
PR_TITLE="${{ github.event.pull_request.title }}"
if [[ ! $PR_TITLE =~ ^.*SDK-[0-9].* ]]; then
echo "::warning ::Invalid PR title format. Please use 'SDK-{number}' format."
fi
- name: Validate PR Description
if: always()
uses: ./.github/mini_flows/validate_pr_description