- Set the Jenkins job's build trigger to Poll SCM, but do not specify a schedule.
- Create a GitHub post-receive trigger to notify the URL
- This will trigger all builds that poll the specified Git repository.
- However, polling actually checks whether anything has been pushed to the used branch.
It works perfectly!