Skip to content

18 add badge to lecture settings icon when lecture name is equal to lecture code #15

18 add badge to lecture settings icon when lecture name is equal to lecture code

18 add badge to lecture settings icon when lecture name is equal to lecture code #15

name: 'Check Branch'
on:
pull_request:
jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && !startsWith(github.head_ref, 'release')
run: |
echo "ERROR: You can only merge to main from a release branch."
exit 1