make update workflow show changed pkgs

This commit is contained in:
windowsboy111
2022-10-30 14:33:24 +08:00
committed by GitHub
parent f0306c9c8c
commit c051ae42f7
+2 -1
View File
@@ -35,7 +35,8 @@ jobs:
if [[ `git status --porcelain` ]]; then
git config user.name "Package Update Checker"
git config user.email "<>"
git commit -a -m "Automatic Update"
git status | grep modified | sed "s@.+/\([^/]+\)/[^/]+\n@\1 @g" > $m
git commit -a -m "Automatic Update: $m"
git push -u origin main
echo "updated=1" >> $GITHUB_OUTPUT
fi