Is there any way that drone can trigger on pr request creation before approval/merging?
Below is the drone.yml I am using.
kind: pipeline
name: production deployment
steps:
- name: setup/install
image: node:14.16.0
commands:
- yarn install --silent
- name: build
image: node:14.16.0
commands:
- cd app
- rm -rf build
- yarn run build
- ls build
trigger:
branch:
- master