release - DepthEstimation advanced config for improved results + Stereo depth estimation #3
This file contains hidden or 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: 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 |