use -X POST
This commit is contained in:
parent
99765e19ba
commit
6864c62dc4
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ pipeline:
|
|||
image: nixery.dev/shell/curl
|
||||
commands:
|
||||
- |
|
||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-flake-lock", "title": "Update lockfile", "body": "" }' | curl -X PUT -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- 'https://git.chir.rs/api/v1/repos/darkkirb/nix-packages/pulls'
|
||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-flake-lock", "title": "Update lockfile", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- 'https://git.chir.rs/api/v1/repos/darkkirb/nix-packages/pulls'
|
||||
secrets:
|
||||
- gitea_token
|
||||
when:
|
||||
|
|
|
@ -59,7 +59,7 @@ pipeline:
|
|||
image: nixery.dev/shell/curl
|
||||
commands:
|
||||
- |
|
||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-${PACKAGE}", "title": "Update ${PACKAGE}", "body": "" }' | curl -X PUT -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- 'https://git.chir.rs/api/v1/repos/darkkirb/nix-packages/pulls'
|
||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-${PACKAGE}", "title": "Update ${PACKAGE}", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- 'https://git.chir.rs/api/v1/repos/darkkirb/nix-packages/pulls'
|
||||
secrets:
|
||||
- gitea_token
|
||||
when:
|
||||
|
|
Reference in a new issue