Skip to content

[ECO-2368] Fix test tsconfig.json linking for frontend, fix playwright screenshot/test report paths #1367

[ECO-2368] Fix test tsconfig.json linking for frontend, fix playwright screenshot/test report paths

[ECO-2368] Fix test tsconfig.json linking for frontend, fix playwright screenshot/test report paths #1367

# yamllint disable rule:empty-lines rule:key-ordering
---
name: 'Production Branch Protection'
"on":
pull_request:
types:
- 'opened'
- 'reopened'
- 'synchronize'
- 'edited'
jobs:
production-branch-protection:
runs-on: 'ubuntu-latest'
steps:
- name: 'Check if the PR is targeting the production branch'
id: 'check_branch'
if: |
github.base_ref == 'production' && github.head_ref != 'main'
run: |
echo ERROR: You can only merge to the production branch from main.
exit 1
...