This commit is contained in:
Antoine Martin 2024-10-27 15:03:01 -04:00
parent da8868f5bf
commit 5ae7ddaf2f
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -87,7 +87,10 @@ create_issue() {
-H "authorization: Basic $FORGEJO_TOKEN" \
-H 'Content-Type: application/json' \
-d "{
\"title\": \"$repo/$name: upgrade to $upstream_version\"
\"title\": \"$repo/$name: upgrade to $upstream_version\",
\"labels\": [
$LABEL_NUMBER
]
}")
return 0
@ -141,7 +144,10 @@ if [ -f not_in_anitya ]; then
-H 'Content-Type: application/json' \
-d "{
\"title\": \"Add missing $repo packages to anitya\",
\"body\": \"- [ ] $(sed '{:q;N;s/\n/\\n- [ ] /g;t q}' not_in_anitya)\"
\"body\": \"- [ ] $(sed '{:q;N;s/\n/\\n- [ ] /g;t q}' not_in_anitya)\",
\"labels\": [
$LABEL_NUMBER
]
}")
else