Dangerous example

https://docs.gitlab.com/ee/ci/merge_request_pipelines/#configuring-pipelines-for-merge-requests

build:
  stage: build
  script: ./build
  only:
  - branches
  - tags
  - merge_requests`

test:
  stage: test
  script: ./test
  only:
  - merge_requests
 
deploy:
  stage: deploy
  script: ./deploy

In the above example from the docs, every branch pushed (except merge requests) would result in a deployment without testing. It should probably have another line for only: master so people aren't blowing stuff up by following what appears to be a sane example.``

Edited by k. adam wolfe