From ce99bac76dfaf3e0ca777a14a40fca6f54114d6c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 06:35:33 +0000 Subject: [PATCH] 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> --- .github/workflows/mirror-repo-events-to-logs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror-repo-events-to-logs.yml b/.github/workflows/mirror-repo-events-to-logs.yml index bfcdd2f..77c3162 100644 --- a/.github/workflows/mirror-repo-events-to-logs.yml +++ b/.github/workflows/mirror-repo-events-to-logs.yml @@ -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