Refine log workflow checks after review feedback

Agent-Logs-Url: https://github.com/th30d4y/OpenLearnX/sessions/17fba2c8-4f49-4a78-9dc4-483acc8cc945

Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-19 06:35:33 +00:00
committed by GitHub
parent d3f38ad2f5
commit ce99bac76d
@@ -26,7 +26,7 @@ jobs:
LOGS_REPO_PAT: ${{ secrets.LOGS_REPO_PAT }}
run: |
if [ -z "$LOGS_REPO_PAT" ]; then
echo "Missing required secret: LOGS_REPO_PAT"
echo "Missing required secret: LOGS_REPO_PAT. See README.md for setup instructions."
exit 1
fi
@@ -92,7 +92,7 @@ jobs:
git config user.name "openlearnx-log-bot"
git config user.email "openlearnx-log-bot@users.noreply.github.com"
if git diff --quiet; then
if [ -z "$(git status --porcelain)" ]; then
echo "No log changes to commit"
exit 0
fi