This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
user=$(gh api graphql -f query="{ viewer { login } }" | jq -r .data.viewer.login) | |
echo "Listing dependency reviews for ${user}..." | |
search_results=$(gh api graphql -f query=" | |
query { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"io/ioutil" | |
"log" | |
"os" | |
"google.golang.org/genproto/googleapis/api/annotations" | |
"google.golang.org/genproto/googleapis/longrunning" |