Skip to content

Bump nanoid from 3.3.4 to 3.3.8 in /backend #13

Bump nanoid from 3.3.4 to 3.3.8 in /backend

Bump nanoid from 3.3.4 to 3.3.8 in /backend #13

name: Check pull request source branch
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
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