I want to run some action upon merge commits to master branch, and that action requires knowing the both commit message and the pull request id.
I created a pipeline step with the following events:
- name: PR merge action when: branch: - master event: - push
However, the environment variable DRONE_PULL_REQUEST has no value in the pipeline. Is there any way to access the pull request id from a drone step triggered by merging a pull request?