Skip to content

GitHub

GitHub

Create/edit/manage issues in GitHub

Description

GitHub integration gives you ability to manage your GitHub issues using maira commands. You can create/edit/close issues or add comments to issues with maira commands. Ability to manage files/repositoties is coming soon.

Installation

For integrating with GitHub, you need to provide your GitHub authorization token. Make sure that the cluster name is set as github-default and service_name is set as github.

Helm Config

Below is sample configuration for enabling github integration through Helm Chart Values file

github:
  disabled: false
  url: "https://api.github.com"
  token: "Bearer <Enter Github Token Here>"
  • disabled tag can be set to true to temporarily disable the service without removing the config

Direct Config

Below is sample configuration for enabling GitHub integration

modules:
  - name: maira_io.module.http
services:
  - name: maira_io.service.http
    typed_config:
      "@type": types.google.com/maira_io.config.service.http.v1.Config
      clusters:
        - name: github-default
          addresses:
            - "https://github.com"
          request_headers_add:
            "Authorization": "Bearer glpat-uGkeU55LRWhUSgfPRQE_"
            "content-type": "application/json"
          service_name: github