improve autommated pull request titles
This commit is contained in:
parent
48aa7670e5
commit
4c331b7725
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ pipeline:
|
|||
- git config --global "user.signingKey" "0x417A4BCCAB696E24"
|
||||
- git config --global "commit.gpgSign" "true"
|
||||
- git add .
|
||||
- git commit -am "Update flake"
|
||||
- git commit -am "Update ${PACKAGE}"
|
||||
- git push --force origin main:update-${PACKAGE}
|
||||
secrets:
|
||||
- gpg_key
|
||||
|
@ -74,7 +74,7 @@ pipeline:
|
|||
image: nixery.dev/shell/curl
|
||||
commands:
|
||||
- |
|
||||
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-${PACKAGE}", "title": "Update flake", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- "https://git.chir.rs/api/v1/repos/$CI_REPO_OWNER/$CI_REPO_NAME/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/$CI_REPO_OWNER/$CI_REPO_NAME/pulls"
|
||||
secrets:
|
||||
- gitea_token
|
||||
when:
|
||||
|
|
Reference in a new issue