This will help you to perform any task on every Github PR merge.
For example:
1. You can run your P1 Jobs.
2. Any status check.
3. CI/CD integrations, etc.
Do no forget to change your Jenkins setup in place of,
pipelineJob function and the parameters inside 'XXXXXXXXX'
definition along with readFileFromWorkspace path 'XXXXXXXXX'