Skip to content

Feature/sw 05 02/50 settings component #40

Feature/sw 05 02/50 settings component

Feature/sw 05 02/50 settings component #40

Workflow file for this run

name: 'Check Branch'
on:
pull_request:
jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Branch info
run: |
echo "Base branch: ${{ github.base_ref }}"
echo "Head branch: ${{ github.head_ref }}"
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'staging'
run: |
echo "ERROR: You can only merge to main from stage."
exit 1