GitHub event trigger
    • PDF

    GitHub event trigger

    • PDF

    Article Summary

    Available in Classic

    You can create GitHub event triggers in the NAVER Cloud Platform console's Cloud Functions > Trigger. GitHub event triggers provide the feature to use events supported by GitHub as triggers for the users' code management, deployment, and issue handling. This characteristic makes GitHub event triggers useful for automation of code configuration management, deployment, issue handling, etc. It's possible to update automatically added code or start deployment tasks based on a GitHub event. The number of ways it can be utilized also increases if you use it in connection with CI tools.
    Refer to Running action or trigger and Trigger for how to run and monitor triggers that have been created.

    Create triggers

    GitHub event trigger is the feature where you add the list of events registered by a user to GitHub, and call the trigger when the event occurs. Various events on registered repositories are currently available in registerable formats.
    If you select the GitHub type and enter additional information when you create the trigger, then you can use the trigger to receive and process events for a registered repository. Content of the event passed to the trigger is sent in the form of runtime parameter for an action connected to the trigger.

    Execution options

    Setting execution options for GitHub event triggers is done in the console's GitHub information settings.

    compute-15-3-201.png

    • GitHub user name: user name registered on GitHub
      compute-15-3-202.png
    • GitHub access token: It's for user authentication and can be issued from the GitHub > Settings > Developer settings > Personal access tokens menu.
      • Appropriate OAuth permission needs to be set up according to the event to be used when getting the token issued.
        compute-15-3-203.png
    • GitHub repository: Specify the repository to request events about issues, code, Git jobs, etc. Enter the group and repository name in the form of ncpSampleOrganization/CloudFunctionsRepository, rather than the entire address for the repository.
      compute-15-3-204.png
    • Select event: Click and select the event to use.

    GitHub event information

    You can get events supported by Cloud Functions among GitHub events delivered as GitHub triggers. The information for GitHub events is as follows.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.