Github Triggers
Use Github events to set a trigger for workflow execution. To create an event for Github, complete the following steps:
1. Place the pointer on the start icon
, and then click
or double-click
. A list of triggers appears.
2. Select Github. In the trigger configuration window, do one of the following:
◦ 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 following steps.
3. Edit the Trigger Label, if needed.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
5. Click TEST to validate the connector.
6. In the Select Trigger list, select one of the following events:
◦ Push—A block of code is pushed.
◦ New Issue—A new issue is created.
◦ New Pull Request—A new pull request is created in the specified repository.
◦ New Branch—A new branch is created in the specified repository.
◦ New Tag—A new tag is created in the specified repository.
◦ New Fork—A new fork is created for the specified repository.
◦ New Comment on Issue—A new comment is added to an issue of the specified repository.
◦ New Collaborator—A new collaborator is created in the specified repository.
7. In the Repository Name list, select or specify the repository name.
8. Under the Custom Filters section, click ADD, and then do the following:
a. Map the appropriate fields from the Trigger Data section to the Input field.
b. Select an appropriate value in the Condition list.
c. Set a value in the Expected field.
Click
Add to add multiple custom filters. Click
to delete any custom filter that you added.
9. Click SAVE.