GitHub

Create issues, manage repos, and open pull requests on GitHub. In Appbricx, your workflows and server functions call it by name once it is connected.

What you can do

17 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.

  • Create Issuegithub_create_issue
    Create Issue in GitHub Repository
  • Add Labels to Issueadd_labels_to_issue
    Adds labels to an existing issue.
  • Create Branchcreate_branch
    Creates a new branch on a repository.
  • Create comment on a issuecreateCommentOnAIssue
    Adds a comment to the specified issue (also works with pull requests)
  • Delete Branchdelete_branch
    Deletes a branch from a repository.
  • Find Branchfind_branch
    Finds a branch by name and returns its details.
  • Find Issuefind_issue
    Finds an issue based title.
  • Find Userfind_user
    Finds a user by their login name.
  • Get issue informationgetIssueInformation
    Grabs information from a specific issue
  • Create Commit Commentgithub_create_commit_comment
    Creates a comment on a commit in a GitHub repository
  • Create Discussion Commentgithub_create_discussion_comment
    Creates a comment on a discussion in a GitHub repository
  • Create Pull Request Review Commentgithub_create_pull_request_review_comment
    Creates a review comment on a pull request in a GitHub repository

All 17 actions with their inputs

Set it up

About two minutes, once per project or once for the whole workspace.

  1. Open Integrations in the builder

    Backend panel, Integrations tab, then GitHub. To connect it for every project, use Workspace settings, Integrations.

  2. Sign in to GitHub

    You sign in to GitHub and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.

    • repo
    • read:user

    This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.

  3. Call an action

    From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.

    Workflow
    // .workflow.js (native ctx)
    export async function run(ctx) {
      const res = await ctx.integrations.invoke("github", "github_create_issue", {
        "repository": "<repository>",
        "title": "<title>"
      });
      if (!res.success) throw new Error(res.error);
      ctx.log.info("GitHub answered", { output: res.output });
    }

GitHub and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.

Connect GitHub once. Every workflow can use it.