code: public void onPost(String triggeredByUser) {
          onPost(GitHubTriggerEvent.create()
                  .withOrigin(SCMEvent.originOf(Stapler.getCurrentRequest()))
                  .withTriggeredByUser(triggeredByUser)
                  .build()
          );
      }
docs: Called when a POST is made.