更新 update-cursor-links.yml

This commit is contained in:
oslook
2025-09-02 09:07:24 +08:00
committed by GitHub
parent 087890fc2f
commit 13ab386a8b

View File

@@ -46,7 +46,9 @@ jobs:
id: git-check
run: |
git add cursor_products
git diff --staged || echo "changes=true" >> $GITHUB_OUTPUT
if ! git diff --staged --quiet; then
echo "changes=true" >> $GITHUB_OUTPUT
fi
- name: Commit and push if changed
if: steps.git-check.outputs.changes == 'true'