Convert colon to %3A when query
This commit is contained in:
parent
94b837d974
commit
940d23a3d9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ does_it_exist() {
|
|||
repo=$4
|
||||
|
||||
query="$repo/$name: upgrade to $upstream_version"
|
||||
query="$(echo $query | sed 's| |%20|g')"
|
||||
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g')"
|
||||
|
||||
result="$(curl --silent -X 'GET' \
|
||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
||||
|
|
Loading…
Reference in a new issue