diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 6594700c..c94ba70d 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -3,6 +3,13 @@ name: 'UI Tests' on: push jobs: + target-branch-check: + name: target-branch-check + runs-on: ubuntu-latest + if: github.event_name == 'pull_request' + steps: + - name: Check that the pull request is not targeting the stable branch + run: test ${{ github.base_ref }} != "stable" # Run interaction and accessibility tests build-storybook: runs-on: ubuntu-latest