Skip to content

Integrate with GitHub Node.js package #225

@thyarles

Description

@thyarles

To get more useful information and drive best the cy-runner decisions, we need to take advantage of Octokit from GitHub.

Something like that.

import { Octokit } from '@octokit/rest'
export class GitHubInfo {  
  public ref: GithubRef
  public repo: GithubRepo
  public owner: GithubUser
  public sender: GithubUser
  public installation: string

  constructor({ ref, repo, owner, sender, installation }: any) {
    this.ref = ref
    this.repo = repo
    this.owner = owner
    this.sender = sender
    this.installation = installation
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions