Skip to content

alifemove/gh-dp-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gh-dp-search

Example: Find all my team's repos with a helm file.

  1. DevPortal auth: Login to DevPortal, use the developer tools to copy the Authorization header (e.g. Bearer eyJ0eXAiOiJ2b...)
  2. GitHub Auth: Authenticate the GitHub CLI.
GH_TOKEN="$(gh auth token)"
python3 ghsearch.py --query='org:MoveRDC path:helm' > urls-helm

# copied from DevPortal webapp
DP_AUTH="Bearer eyJ0eXAiOiJ2b..."
python3 dpsearch.py -t foundational-content-platform > urls-platform

python3 intersection.py --file1 urls-helm --file2 urls-platform

Output:

https://github.com/MoveRDC/content-ranch-canary
https://github.com/MoveRDC/event-wrangler
https://github.com/MoveRDC/content-ranch-admin
https://github.com/MoveRDC/data-wrangler-router

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages