vishalol / pystatus

Get and push status for a commit to github using Github status API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Staus Using Python

Get and push status for a commit to github using Github status API

Setup Instructions

  • Clone the project locally and cd to the project root
  • Make virtual environment using virtualenv -p python3 env
  • Activate the virtual environment using source env/bin/activate
  • Install python dependencies using pip install -r requirements.txt
  • Set "GITHUB_TOKEN" in status.py
  • Run python status.py --repo=user/repo_name --sha=commit_sha to post status for a commit
  • Run python status.py --repo=user/repo_name --sha=commit_sha, --get=True to get overall status of checks for a commit.

About

Get and push status for a commit to github using Github status API


Languages

Language:Python 100.0%