Skip to content

This repository is to keep GitHub related operation utils

Notifications You must be signed in to change notification settings

kumvijaya/github-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

GitHub Utils

This repository keeps the util scripts to interact with GitHub using python

  • Connects to Github using REST API.
  • For execution, This expects environment variable GITHUB_TOKEN to be set with valid GitHub PAT (Perosonal Access Token).

This uses GitHub REST API

Read file content from GitHub

This CLI/util can be used to get github file content for the given org, repo, and file path.

This module takes below parameters.

  • owner -- Provide github user/owner name e.g. kumvijaya
  • repo -- Provide repository name e.g. my-repo
  • branch -- Provide branch name e.g. master
  • filepath -- Provide file path in repo e.g. config/settings.yaml

Refer more details here

About

This repository is to keep GitHub related operation utils

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages