Below is a snapshot of my `bitbucket-pipelines.yml` file. I'm trying to run a gate prior merging into main.
However, this will not run. (My trunk is `main`, but I've also tried with `master`.) What gives?
```yml
definitions:
steps:
- step: &test-ci
name: Run unit tests (linting - warnings allowed)
script:
- yarn install
- yarn lint:ci
- yarn test:ci
- step: &test-merge
name: Run unit tests (linting - warnings not allowed)
script:
- yarn install
- yarn lint:clean
- yarn test:ci
pipelines:
pull-requests:
main:
- step: *test-merge
branches:
main:
- step: *test-merge
"**":
- step: *test-ci
```