Skip to content

Commit d4d5514

Browse files
committed
fix: better commit message for dependency updates
1 parent 49ac8ba commit d4d5514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-python-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
else
8888
updates="$(echo "$updates" | grep Update | grep -v kleinanzeigen-bot || true)"
8989
if [[ $(wc -l <<< "$updates") -eq 1 ]]; then
90-
echo "title=$(echo "$updates" | head -n 1)" >> "${GITHUB_OUTPUT}"
90+
echo "title=$(echo "$updates" | head -n 1 | sed 's/ successful//')" >> "${GITHUB_OUTPUT}"
9191
else
9292
echo "title=Update Python dependencies" >> "${GITHUB_OUTPUT}"
9393
fi
@@ -106,7 +106,7 @@ jobs:
106106
title: "chore: ${{ steps.update_deps.outputs.title }}"
107107
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
108108
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
109-
commit-message: "chore: Update Python dependencies"
109+
commit-message: "chore: ${{ steps.update_deps.outputs.title }}"
110110
body: ${{ steps.update_deps.outputs.updates }}
111111
add-paths: pdm.lock
112112
branch: dependencies/pdm

0 commit comments

Comments
 (0)