How can we help?
{{docApp.searchError}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Operation Information
Adds a comment to a Commit.
This is a Free Tier Integration.
Authentication
This operation requires authentication, the details of which can be securely stored on your instance in a KeySafe Key of type GitHub.
To create a key of this type:
- In the Configuration area of your Hornbill instance, navigate to Platform Configuration > Security > KeySafe;
- Click on the + Create New Key button;
- On the resulting Create New Key form, choose GitHub in the Type pick list;
- Give the GitHub KeySafe key a Title (this is the name / identifier for the GitHub account as you will see it when using the cloud automation node in your workflows);
- Optionally populate the Description field;
- Click the Create Key button to create your new key;
- Once the Key is created, you will need to connect to the target service, and your account, in order to authorize the connector app access to the listed operations. Click the Connect button and you will be redirected to the service provider in a popup window;
- Log in to your account, and then you will be prompted to review the options you are authorizing the Hornbill connector to be allowed to perform using the chosen account;
- Accept the review and you will be returned to your KeySafe key.
Revoking Access
If at any point you wish to revoke access to any of the above accounts from your Hornbill instance, just hit the Revoke button in the relevant KeySafe key(s).
Warning
This will revoke the rights of any existing Cloud Automation Node in your Hornbill Workflows that are using the revoked GitHub account, so you will need to manage these workflows accordingly.
Input Parameters
Display Name | ID | Type | Description | Required | Supported Values |
---|---|---|---|---|---|
Repository Owner | repo_owner |
string |
GitHub Owner or Organization | Yes | None provided |
Repository Name | repo_name |
string |
GitHub Repo | Yes | None provided |
Sha | sha |
string |
The Sha of the commit | Yes | None provided |
Path | path |
string |
Path of the file | No | None provided |
Position | postion |
number |
Line index in the diff to comment on | No | None provided |
Comment | body |
string |
Comment body | Yes | None provided |
Output Parameters
Display Name | ID | Type | Description |
---|---|---|---|
Comment ID | id |
number |
None provided |
URL | url |
string |
None provided |
HTML URL | html |
string |
None provided |
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}
In This Document