Skip to content

release - DepthEstimation advanced config for improved results + Stereo depth estimation #3

release - DepthEstimation advanced config for improved results + Stereo depth estimation

release - DepthEstimation advanced config for improved results + Stereo depth estimation #3

name: Enforce release source branch
on:
pull_request:
branches:
- release
permissions:
contents: read
jobs:
check-source:
name: Source branch check
runs-on: ubuntu-latest
steps:
- name: Only allow PRs from main into release
run: |
if [ "${{ github.head_ref }}" != "main" ]; then
echo "::error::Only PRs from 'main' are allowed into 'release' (got: '${{ github.head_ref }}')"
exit 1
fi