GitHub Trigger
Seamlessly integrate GitHub with your favorite APIs, databases, and programming languages, using WayScript.
Run your script when GitHub events occur.
To automate actions with GitHub, use the GitHub module.

​
πŸ”—
Link Your GitHub Account

When you drag in a GitHub Trigger for the first time, follow the prompt to authorize access.
You can add additional accounts from the GitHub Trigger settings.

​
βš™
Settings

Select the account and repository you want to work with.

​
Modes

  • Branch Events
    • Run program when:
      • A branch is created.
      • A branch is deleted.
  • Issue Events
    • Run program when:
      • An issue is opened.
      • An issue is closed.
      • An issue is commented on.
      • An issue is assigned.
      • An issue is unassigned.
      • An issue is labeled.
      • An issue is unlabeled.
  • Pull Request Events
    • Run program when:
      • A pull request is opened.
      • A pull request is closed.
      • A pull request review is submitted.
      • A pull request review is modified.
      • A pull request is commented on.
      • A pull request's code is commented on.
  • Push Events
    • Run program when there is a push to a repository branch.
    • Select a branch
      • If you choose Any Branch, the program will run on any push to that repository.

​
πŸ“€
Outputs

  • Branch Events
    1
    Branch = {
    2
    ref : String,
    3
    master : String,
    4
    description : String
    5
    }
    Copied!
    JSON Data - Raw JSON data received from the API.
  • Issue Events
    1
    PR = {
    2
    title : String,
    3
    url : String,
    4
    username : String,
    5
    number : Int
    6
    }
    Copied!
    JSON Data - Raw JSON data received from the API.
  • PR Events
    1
    PR = {
    2
    title : String,
    3
    url : String,
    4
    username : String,
    5
    number : Int
    6
    }
    Copied!
    JSON Data - Raw JSON data received from the API.
  • Push Events
    1
    Push = {
    2
    ref : String,
    3
    head : String,
    4
    before : String,
    5
    size : Int,
    6
    commit_shas : [ String ],
    7
    commit_messages : [ String ],
    8
    commit_authors : [ String ]
    9
    }
    Copied!
    JSON Data - Raw JSON data received from the API.
Last modified 9mo ago