#1017: Implemented a GH workflow(s) which validates correct target branch of PR #5
Workflow file for this run
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 | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check master | |
if: ${{github.base_ref == 'master' && github.base_ref != 'develop'}} | |
run: echo You must not merge to master && exit 1 |