Compare commits

...

2 commits

Author SHA1 Message Date
e2d19e7f68
Add project number 2024-10-27 15:05:15 -04:00
5ae7ddaf2f
m 2024-10-27 15:03:01 -04:00
2 changed files with 9 additions and 2 deletions

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\",
\"projects\": [
$PROJECT_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)\",
\"projects\": [
$PROJECT_NUMBER
]
}")
else

View file

@ -13,6 +13,7 @@ jobs:
env:
downstream: https://forge.ilot.io/api/packages/ilot/alpine/v3.20/ilot
FORGEJO_TOKEN: ${{ secrets.forgejo_token }}
PROJECT_NUMBER: 2
steps:
- name: Environment setup
run: apk add grep coreutils gawk curl wget bash nodejs git jq sed