Skip to content

#1017: Implemented a GH workflow(s) which validates correct target branch of PR #8

#1017: Implemented a GH workflow(s) which validates correct target branch of PR

#1017: Implemented a GH workflow(s) which validates correct target branch of PR #8

Workflow file for this run

name: Validate PR
on:
pull_request:
jobs:
validate-pr:
runs-on: ubuntu-24.04
steps:
- name: Check master
if: ${{github.base_ref == 'master' && github.ref_name != 'develop'}}
run: echo You must not merge directly to master. Instead merge to 'develop' first. && exit 1