Giter Site home page Giter Site logo

preflight-trigger's People

Contributors

acornett21 avatar bcrochet avatar mrhillsman avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

acornett21

preflight-trigger's Issues

Switch Cobra CMDs from `Run` to `RunE`

In this project we are logging fatal everywhere and processing the errors ourself. It would be better if we switched to RunE for all our cobra cmds, and then just log the error and return the error for cobra to handle.

Add the Ability to Pass a `token` to GitHub Client

Issue

Due to the fact that Github rate limits requests, some executions to preflight-trigger fail. To mitigate this issue we should allow the caller to pass an optional token to our Github Client Implementation.

Proposed Changes

  • Add an optional flag/env to accept the token from the caller.
  • Update the go-github library to latest (and probably go versions while we are at it)
    • This update to latest will give us an option on the client to pass a token with method WithAuthToken.
  • If the caller calls with the new flag/env add the above WithAuthToken to the github client, otherwise create the client as default.

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.