GithubHelp home page GithubHelp logo

gh-my's Introduction

About Me

Sometimes I have things to say; you can find my assorted ramblings for your reading pleasure here.

I have excellent knowledge of many different technology stacks, and can recognise potential weaknesses and design effective solutions. I understand the interplay between new features, system complexity, and technical debt, and can make trade-offs among them effectively to deliver the solution you need.

GitHub Stats


github-snake

gh-my's People

Contributors

dependabot[bot] avatar mcwarman avatar quotidian-ennui avatar

Watchers

 avatar

gh-my's Issues

Add --jsonlines support to other sub commands

#46 adds --jsonlines support to gh my reviews

This could easily be added to the other sub commands that also use $TEMPLATE since the template is the same, the to_json would be the same.

  • query_issues
  • query_prs
  • query_reviews
  • query_workload

Probably a simple query for gh_vulns since we just need to push the 'nameWithOwner' from the query into the vulnerabilityAlerts section.

deployments URL is not the action run URL

bsh ❯ ./gh-my deployments -o telus-agcg -t tpm-demeter
Repo                                   ID           Env            Actionable  URL                                                                        When
telus-agcg/tpm-demeter-terraform-test  14505914355  main-approval  false       https://github.com/telus-agcg/tpm-demeter-terraform-test/runs/14505914355  3 days ago

bsh ❯ ./gh-my deployments -r telus-agcg/retro-cdc
ID          URL                                                              Branch  When
5388868900  https://github.com/telus-agcg/retro-cdc/actions/runs/5388868900  main    32 minutes ago

deployments -r filter isn't always reliable

A PR merge did not show up : https://github.com/telus-agcg/retro-cdc/actions/runs/5382086545
A manual workflow dispatch run did : https://github.com/telus-agcg/retro-cdc/actions/runs/5388868900

The repository in question doesn't have "required checks" so this might be the problem so check-runs for a PR merge doesn't exist?

gh run list -R "telus-agcg/retro-cdc" -s "waiting" is still more reliable so maybe we should just switch to that when a repository is requested?

gh my deployments

{
  search(
    query: "org:telus-agcg topic:tpm-demeter"
    type: REPOSITORY
    first: 100
    
  ) {
    edges {
      node {
        ... on Repository {
          nameWithOwner
          defaultBranchRef {
            target {
              ... on Commit {
                checkSuites(filterBy: {appId: 15368}, last: 1) {
                  nodes {
                    checkRuns(filterBy: {status: WAITING}, last: 1) {
                      nodes {
                        databaseId
                        url
                        pendingDeploymentRequest {
                          environment {
                            id
                            name
                          }
                          currentUserCanApprove
                          waitTimerStartedAt
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.