feat: adding breadcrumbs for users to easily navigate back to search … #335
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: Branch workflow rules | |
on: | |
pull_request: | |
types: [opened, reopened, edited] | |
jobs: | |
check-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check_branch_names | |
if: ${{ (github.base_ref == 'main' && github.head_ref != 'staging') || (github.base_ref == 'staging' && github.head_ref != 'dev' )}} | |
run: exit 1 |