Up until the latest version of 1.5.0 of drone-cli, it seems not possible to trigger
I have a configuration with two pipelines. The first one has the following trigger:
trigger: event: exclude: - pull_request
And the second one has the following trigger:
trigger: event: - pull_request
I tried running the following command:
env DRONE_PULL_REQUEST=1 drone exec --event pull_request
This command triggers the first as well as the second pipeline, which is wrong.
When pushing this configuration to the repo, drone server correctly executes the second pipeline instead.
This behaviour seems to be broken. It would be really helpful if there was a reliable way to test pipelines before pushing them to the central repository.