Add project number

This commit is contained in:
Antoine Martin 2024-10-27 15:05:15 -04:00
parent 5ae7ddaf2f
commit e2d19e7f68
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 5 additions and 4 deletions

View file

@ -88,8 +88,8 @@ create_issue() {
-H 'Content-Type: application/json' \
-d "{
\"title\": \"$repo/$name: upgrade to $upstream_version\",
\"labels\": [
$LABEL_NUMBER
\"projects\": [
$PROJECT_NUMBER
]
}")
@ -145,8 +145,8 @@ if [ -f not_in_anitya ]; then
-d "{
\"title\": \"Add missing $repo packages to anitya\",
\"body\": \"- [ ] $(sed '{:q;N;s/\n/\\n- [ ] /g;t q}' not_in_anitya)\",
\"labels\": [
$LABEL_NUMBER
\"projects\": [
$PROJECT_NUMBER
]
}")

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