Add project number
This commit is contained in:
parent
5ae7ddaf2f
commit
e2d19e7f68
2 changed files with 5 additions and 4 deletions
|
@ -88,8 +88,8 @@ create_issue() {
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "{
|
-d "{
|
||||||
\"title\": \"$repo/$name: upgrade to $upstream_version\",
|
\"title\": \"$repo/$name: upgrade to $upstream_version\",
|
||||||
\"labels\": [
|
\"projects\": [
|
||||||
$LABEL_NUMBER
|
$PROJECT_NUMBER
|
||||||
]
|
]
|
||||||
}")
|
}")
|
||||||
|
|
||||||
|
@ -145,8 +145,8 @@ if [ -f not_in_anitya ]; then
|
||||||
-d "{
|
-d "{
|
||||||
\"title\": \"Add missing $repo packages to anitya\",
|
\"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\": [
|
\"projects\": [
|
||||||
$LABEL_NUMBER
|
$PROJECT_NUMBER
|
||||||
]
|
]
|
||||||
}")
|
}")
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
downstream: https://forge.ilot.io/api/packages/ilot/alpine/v3.20/ilot
|
downstream: https://forge.ilot.io/api/packages/ilot/alpine/v3.20/ilot
|
||||||
FORGEJO_TOKEN: ${{ secrets.forgejo_token }}
|
FORGEJO_TOKEN: ${{ secrets.forgejo_token }}
|
||||||
|
PROJECT_NUMBER: 2
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: apk add grep coreutils gawk curl wget bash nodejs git jq sed
|
run: apk add grep coreutils gawk curl wget bash nodejs git jq sed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue