Giter Site home page Giter Site logo

checks-api's Introduction

Getting started with the GitHub Checks API

Workshop Pre-requisitesUseful linksWorkshop stepsExtend your app further

Remix With Glitch


Workshop Pre-requisites

  • A GitHub.com account
  • A Glitch.com account

Useful links throughout the workshop

Follow along live: https://glitch.com/edit/#!/accessible-emu

Workshop steps

  1. Fork the universeworkshops/license-checker-demo repo to your personal account
  2. Create your Glitch app by following this link: https://glitch.com/edit/#!/remix/license-checker-start
  3. Wait for Glitch to load and for it to install all the dependencies. You can see progress by clicking on "Status" in the top left corner
  4. Click the "Show Live" button at the top of the page. A new tab should open and the page should have a "Register GitHub App" button
  5. Click the "Register GitHub App" button and choose a name for your GitHub App. A GitHub app will be created for you in the background. Once it is complete you will see a new page that asks you where you want to install your new app.
  6. On this page, select the "Only select repositories" and in the dropdown choose the "license-checker-demo" repository that you forked in step 1.
  7. In your current tab, go to the license-checker-demo repository. It should be at github.com/your-username/license-checker-demo
  8. Then head back to Glitch, it's time to write some code!

Extend and improve your app further

  • Create a check saying “No new dependencies found” if the package.json file was not modified in the PR or commit
  • Customise warning/notices
  • Create a pull request review mentioning a specific team whenever there is a dependency change
  • Add an action button to "approve the dependency changes"
  • Modify the check “conclusion” based on the changed dependencies
  • Experiment further with the Checks API and build something completely different

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.