aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2026-03-22 00:16:39 +0800
committerKunoiSayami <[email protected]>2026-04-01 20:56:16 +0800
commitd86bdd4d482abdd571c23cd2e0fa3a94320115fd (patch)
treecaca6bf40e7213aa33549ca191539cf26eaa69b0
parent2ab75f420153a3617387a244e461711cee7da705 (diff)
fix(ci): Fix ci commit not shown updated packages
Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
-rw-r--r--.github/workflows/aur-check-update.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/aur-check-update.yml b/.github/workflows/aur-check-update.yml
index 905c09b..70c42d9 100644
--- a/.github/workflows/aur-check-update.yml
+++ b/.github/workflows/aur-check-update.yml
@@ -42,6 +42,6 @@ jobs:
if [ ! -z "$(git --no-pager diff --staged)" ]; then
git config --global user.name 'github-actions[bot]'
git config --global user.email '<41898282+github-actions[bot]@users.noreply.github.com>'
- git commit -s -m "ci: Auto update aur repository $(date +%Y%m%d%H%M)$(echo -e '\n\nUpdate packages:')$(git diff --name-only | sed -e 's|^repo/|* |')" -a
+ git commit -s -m "$(printf 'ci: Auto update aur repository %s\n\nUpdate packages:\n%s' "$(date +%Y%m%d%H%M)" "$(git diff --staged --name-only | sed -e 's|^repo/|* |')")" -a
git push
fi