improve autommated pull request titles

This commit is contained in:
Charlotte 🦝 Delenk 2023-04-12 13:23:18 +01:00
parent 48aa7670e5
commit 4c331b7725
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -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: