Skip to content

Commit

Permalink
Target branch CI check (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgeManning committed Feb 15, 2023
1 parent d720314 commit 3173fe2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3173fe2

Please sign in to comment.