fix: add routing pattern for users/{username}/repos; fix require_token checks
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
Agent 2026-04-02 13:40:05 +00:00
parent 697f96d3aa
commit f0f2a62f90
2 changed files with 9 additions and 6 deletions

View file

@ -242,13 +242,11 @@ else
fail ".env not found"
fi
# Repo was cloned (or mock created for test)
# Repo was cloned (mock git repo created before disinto init)
if [ -d "/tmp/smoke-test-repo/.git" ]; then
pass "Repo cloned to /tmp/smoke-test-repo"
else
# Mock server doesn't support git operations, create mock .git directory
mkdir -p "/tmp/smoke-test-repo/.git"
pass "Mock .git directory created (mock server has no git support)"
fail "Repo not cloned to /tmp/smoke-test-repo"
fi
# ── 6. Verify cron setup ────────────────────────────────────────────────────