From 4c331b7725a04ceed6c3d67c611464aa8cf31c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 12 Apr 2023 13:23:18 +0100 Subject: [PATCH] improve autommated pull request titles --- .woodpecker/update.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/update.yaml b/.woodpecker/update.yaml index fdbc46e..9cb3c72 100644 --- a/.woodpecker/update.yaml +++ b/.woodpecker/update.yaml @@ -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: