Class GitHubPRTrigger

  • All Implemented Interfaces:
    ExtensionPoint, Describable<Trigger<?>>

    public class GitHubPRTrigger
    extends GitHubTrigger<GitHubPRTrigger>
    GitHub Pull Request trigger. Planned trigger modes: - just incoming hooks, without persist (save PR state to local xml) - hooks with persist - cron run, persist

    Restrictions can't have resolver, so they separate and provide security check methods: - Target branch restriction GitHubPRUserRestriction - User restriction (check comments, labels, etc) GitHubPRUserRestriction (whitelist manipulations using comments is also allowed)

    Event triggering is modular. Now they can be split to any events: - Trigger by comment - Trigger when PR opened - Trigger when PR closed - Trigger by label - etc.

    Author:
    Kanstantsin Shautsou