Skip to content

Bump actions/checkout from 5.0.1 to 6.0.0 in the all-actions group #1648

Bump actions/checkout from 5.0.1 to 6.0.0 in the all-actions group

Bump actions/checkout from 5.0.1 to 6.0.0 in the all-actions group #1648

Workflow file for this run

name: Check pull request source branch
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
- edited
jobs:
check-branches:
runs-on: ubuntu-latest
steps:
- name: Check branches
run: |
if [ ${{ github.head_ref }} != "dev" ] && [ ${{ github.base_ref }} == "main" ]; then
echo "Merge requests to main branch are only allowed from dev branch."
exit 1
fi