[MC-1563] File downloading #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |