GitHub
Connect your accountCreate issues and comments on GitHub with your own personal access token. Connect a GitHub account under Connections first.
Publisher: Amistio (built-in) - version 1.0.0 - Apache-2.0
Triggers (2)
Setup guide- Starts agents
Issue opened
github.issues.openedStarts the agent when an issue is opened in the repository you pick. Amistio creates the repository webhook for you when you activate (the token needs webhook admin rights on the repo).
Provides
{{trigger.issue.number}}(number) - The issue number.{{trigger.issue.title}}(string) - The issue title.{{trigger.issue.body}}(string) - The issue body (Markdown).{{trigger.issue.url}}(string) - The issue page URL.{{trigger.sender.login}}(string) - Who triggered the event.{{trigger.action}}(string) - The exact action (opened, closed, ...).
- Starts agents
Pull request opened
github.pull-request.openedStarts the agent when a pull request is opened in the repository you pick. Amistio creates the repository webhook for you when you activate.
Provides
{{trigger.pullRequest.number}}(number) - The pull request number.{{trigger.pullRequest.title}}(string) - The pull request title.{{trigger.pullRequest.body}}(string) - The pull request description.{{trigger.pullRequest.url}}(string) - The pull request page URL.{{trigger.sender.login}}(string) - Who triggered the event.{{trigger.action}}(string) - The exact action (opened, closed, ...).
Operations (2)
Create a GitHub issue
github.issues.createOpen a new issue in a repository. Provide owner, repo, title, and optional body.
Inputs
owner* (string) - Repository owner (user or org).repo* (string) - Repository name.title* (string) - Issue title.body(string) - Issue body (Markdown).
Returns
number(number) - The created issue number.url(string) - The issue HTML url.
Safety rules
- Creating an issue is public in a public repo; confirm the repository.
Comment on a GitHub issue
github.issues.commentAdd a comment to an existing issue. Provide owner, repo, issue number, and body.
Inputs
owner* (string) - Repository owner.repo* (string) - Repository name.issue_number* (number) - The issue number to comment on.body* (string) - Comment body (Markdown).
Returns
url(string) - The created comment url.
Use GitHub from the agent builder - add the block, and reviewed operations run with your own connected account.
Open the builder