Skip to content

some cppcheck fixes #109

some cppcheck fixes

some cppcheck fixes #109

Workflow file for this run

name: check PR branch
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
jobs:
check-PR-branch:
runs-on: ubuntu-latest
steps:
- name: PRs should not target main
run: |
if [[ "${{ github.base_ref }}" == "main" ]]; then
echo 'Pull requests must not be made against main. Please target development instead.'
exit 1
fi