Skip to main content

GitHub

The GitHub Tool for Superface allows you to quickly add the following capabilities:

  • Issue Retrieval
  • Pull Request details
  • Repository Retrieval
  • List Current User Repositories
  • Organization Repositories
  • Pull Request Management
  • List Issues
  • User Repositories

Authentication

In order to use the GitHub tool you must authenticate your GitHub account. You can do this from the Config section.

Connect to GitHub to authenticate the access you need

You will be redirected to GitHub to authenticate the required permissions:

Authenticate the permissions on GitHub

Click on Authorize Superface Agent to complete the setup. After this you will be redirected back to the config page.

Import your schema

Remember to re-import the schema in your GPT to update it with the new capabilities added by this tool

Example prompts

To test that everything is working as it should be, from your GPT or the Superface Agent you can try asking:

  • "List my repositories"
  • "Which repo has the most open issues?"
  • "Which repo has the oldest PR that is still open?"