Example: Find all my team's repos with a helm file.
- DevPortal auth: Login to DevPortal, use the developer tools to copy the
Authorizationheader (e.g.Bearer eyJ0eXAiOiJ2b...) - 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-platformOutput:
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