mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
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:
committed by
GitHub
parent
d3f38ad2f5
commit
ce99bac76d
@@ -26,7 +26,7 @@ jobs:
|
|||||||
LOGS_REPO_PAT: ${{ secrets.LOGS_REPO_PAT }}
|
LOGS_REPO_PAT: ${{ secrets.LOGS_REPO_PAT }}
|
||||||
run: |
|
run: |
|
||||||
if [ -z "$LOGS_REPO_PAT" ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
git config user.name "openlearnx-log-bot"
|
git config user.name "openlearnx-log-bot"
|
||||||
git config user.email "openlearnx-log-bot@users.noreply.github.com"
|
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"
|
echo "No log changes to commit"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user