The classroom.yml grading workflow is published as a reusable GitHub Actions workflow.
Instead of copying and maintaining the full workflow in every submission repo, you can call it from a single thin workflow file:
# .github/workflows/classroom.yml (in any submission repo)
name: Grade Submission
on:
workflow_dispatch:
issues:
types: [opened]
issue_comment:
types: [created]
permissions:
issues: write
contents: read
jobs:
grade:
uses: DataScience4Psych/actions/.github/workflows/classroom.yml@main
secrets: inheritAny future improvements made to the grading logic in this template repo are immediately available to every repo that references it — no copy-paste required.
Secret: If student repos are private, add a repo secret named
GRADING_PATcontaining a PAT withreporead access.
secrets: inheritwill forward it automatically to the reusable workflow.