Compare commits
2 commits
da8868f5bf
...
e2d19e7f68
Author | SHA1 | Date | |
---|---|---|---|
e2d19e7f68 | |||
5ae7ddaf2f |
2 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue