We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1726769 commit 5343401Copy full SHA for 5343401
.github/workflows/migrator_uniqueness.yml
@@ -43,9 +43,11 @@ jobs:
43
echo "Checking for existing uses of migrator $migrator in conda-forge..."
44
45
# Search in GH-org with exact path where migrators end up
46
+ query=$(printf "org:conda-forge+path:.ci_support/migrations/$migrator" | jq -sRr @uri)
47
response=$(curl -s -H "Accept: application/vnd.github+json" \
48
-H "Authorization: token $GH_TOKEN" \
- "https://api.github.com/search/code?q=org:conda-forge+path:.ci_support/migrations/$migrator")
49
+ "https://api.github.com/search/code?q=$query")
50
+ echo "Sent $query"
51
echo "Got $response"
52
num_hits=$(echo "$response" | jq '[.items[] | select(.repository.archived == false)] | length')
53
0 commit comments