Also commits the README when changes made
This commit is contained in:
8
.github/workflows/build-template.yml
vendored
8
.github/workflows/build-template.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user