Commit Graph

14 Commits

Author SHA1 Message Date
cf43ba662d Update content [skip ci] 2025-12-02 16:21:06 +08:00
b979960828 feat: add [skip ci] support and tag trigger
- Skip CI when commit message contains [skip ci]
- Add tag trigger: push 'submit' or 'submit-*' tag to grade
- Prevents unnecessary CI runs during initialization
2025-12-02 16:04:42 +08:00
5e8d901a18 security: remove .autograde from student repo
- Grading scripts are now fetched from tests repo at runtime
- Students cannot modify grading scripts to cheat
- Workflow fetches scripts from private tests repo
2025-12-02 15:17:54 +08:00
fd73c62d85 feat: add student info and watermark to PDF report
- Auto-fill student name/class from .student_info.json
- Add anti-cheating watermark with student ID and unique hash
- Pass commit SHA for watermark generation
- Read student info from workflow environment
2025-12-02 13:55:37 +08:00
9647054b67 fix: use file for curl data to avoid argument list too long 2025-12-02 13:16:27 +08:00
92526feba2 feat: professional PDF report with cover page and proper Chinese fonts
- Cover page with course title, student info fields
- Proper A4 layout with margins for printing
- Chinese fonts support (Noto CJK, WenQuanYi)
- Structured sections: Reports → Grade details
- Professional styling suitable for archival
2025-12-02 13:08:01 +08:00
3105d27d75 fix: use POST for new files, PUT only for updates 2025-12-02 12:58:11 +08:00
f54d84136c feat: generate PDF grade report and upload to student repo
- Add generate_pdf_report.py using weasyprint
- Install weasyprint dependencies in workflow
- Generate combined report with grades, REPORT.md, FRONTEND.md
- Upload PDF/Markdown report to student repo's reports/ directory
2025-12-02 12:48:34 +08:00
c5c5e8bbfd fix: use current org's course-metadata instead of hardcoded CS101
Use ${{ github.repository_owner }}/course-metadata to dynamically
determine the metadata repository based on current organization.
2025-12-02 09:57:33 +08:00
3f16fbe8e3 fix: use Runner env vars for LLM config instead of secrets 2025-12-01 23:36:52 +08:00
c17de1d21a fix: use token for authentication to support private repos 2025-12-01 23:27:25 +08:00
f066e4bdb1 chore: switch all mirrors to Aliyun (APT, PyPI, Maven/Gradle) 2025-12-01 22:18:50 +08:00
f46365a317 fix: use native git instead of actions/checkout to avoid missing nodejs 2025-12-01 22:16:54 +08:00
d0a4992cd6 Initial commit 2025-12-01 22:12:02 +08:00