Github Triggers
You can set a trigger for a specific workflow by selecting events from the trigger list.
Using Github Triggers
To use this trigger in your workflow, create a new event for the Github trigger, and then connect to the flow. To create a new event, do the following:
1. Place the pointer on the start icon , and then click or double-click . A list of triggers appears.
2. Select the Github, and then create a new event. The Github trigger configuration window opens.
If a trigger is already created, select an existing trigger, and then click SAVE.
To create a new trigger, click Create a new event for Github, and then proceed with the steps further.
3. Edit the trigger label, if needed.
4. To add a new authorization, refer to the section Authorize Github in the Github connector topic.
If you previously added an authorization for Github, select an authorization from the list.
5. In the Select Trigger list, select a trigger. A list of triggers with a description of what initiates each trigger follows:
Push—A block of code is pushed.
New Issue—A new issue is created.
New Pull Request—A new pull request is created in a specified repository.
New Branch—A new branch is created in a specified repository.
New Tag—A new tag is created in a specified repository.
New Fork—A new fork is created for a specified repository.
New Comment on Issue—A new comment is added to an issue of a specified repository.
New Collaborator—A new collaborator is created in a specified repository.
6. In the Repository Name field, enter the repository name.
7. In the Custom Filters section, click ADD, and then enter the following details:
Expected—The expected output.
Condition—Condition to apply on the filters such as equals, greater than, less than, contains, does not contain, matches, and so on.
Click ADD to set multiple custom filtering criteria.
For more information on custom filters, refer to the topic Adding Custom Filters.
8. Click SAVE.