We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bafc1d commit bb6be1dCopy full SHA for bb6be1d
1 file changed
.github/workflows/commit-llms-txt.yml
@@ -46,13 +46,13 @@ jobs:
46
cp .artifact/src/pages/llms.txt src/pages/llms.txt
47
rm -rf .artifact
48
49
- if git diff --quiet src/pages/llms.txt 2>/dev/null; then
+ git add src/pages/llms.txt
50
+ if git diff --staged --quiet; then
51
echo "No changes to llms.txt, skipping commit."
52
exit 0
53
fi
54
55
git config user.name "github-actions[bot]"
56
git config user.email "github-actions[bot]@users.noreply.github.com"
- git add src/pages/llms.txt
57
git commit -m "auto-generate llms.txt"
58
git push
0 commit comments