mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
fix: better commit message for dependency updates
This commit is contained in:
4
.github/workflows/update-python-deps.yml
vendored
4
.github/workflows/update-python-deps.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
updates="$(echo "$updates" | grep Update | grep -v kleinanzeigen-bot || true)"
|
updates="$(echo "$updates" | grep Update | grep -v kleinanzeigen-bot || true)"
|
||||||
if [[ $(wc -l <<< "$updates") -eq 1 ]]; then
|
if [[ $(wc -l <<< "$updates") -eq 1 ]]; then
|
||||||
echo "title=$(echo "$updates" | head -n 1)" >> "${GITHUB_OUTPUT}"
|
echo "title=$(echo "$updates" | head -n 1 | sed 's/ successful//')" >> "${GITHUB_OUTPUT}"
|
||||||
else
|
else
|
||||||
echo "title=Update Python dependencies" >> "${GITHUB_OUTPUT}"
|
echo "title=Update Python dependencies" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
title: "chore: ${{ steps.update_deps.outputs.title }}"
|
title: "chore: ${{ steps.update_deps.outputs.title }}"
|
||||||
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
||||||
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
||||||
commit-message: "chore: Update Python dependencies"
|
commit-message: "chore: ${{ steps.update_deps.outputs.title }}"
|
||||||
body: ${{ steps.update_deps.outputs.updates }}
|
body: ${{ steps.update_deps.outputs.updates }}
|
||||||
add-paths: pdm.lock
|
add-paths: pdm.lock
|
||||||
branch: dependencies/pdm
|
branch: dependencies/pdm
|
||||||
|
|||||||
Reference in New Issue
Block a user