Also commits the README when changes made

This commit is contained in:
Alicia Sykes
2023-04-18 18:49:21 +01:00
committed by GitHub
parent 39d51898a5
commit ada1aebdba

View File

@@ -45,3 +45,11 @@ jobs:
git commit -m "Updates templates (auto-generated, on ${{ steps.date.outputs.date }})" git commit -m "Updates templates (auto-generated, on ${{ steps.date.outputs.date }})"
git push git push
fi fi
git add .github/README.md
if git diff --staged --quiet; then
echo "No need to update README, skipping..."
exit 0
else
git commit -m "Updates template + source list in docs (auto-generated, on ${{ steps.date.outputs.date }})"
git push
fi