Reusable workflow for checking if grading files have been altered in GitHub Classroom assignments.
Add reusable workflow to classroom.yml
workflow.
name: GitHub Classroom Workflow
on: [push]
jobs:
build:
name: Autograding
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: education/autograding@v1
check:
uses: markpatterson27/GitHub-Classroom-Check-For-Changes/.github/workflows/change-check.yml@main
with:
paths: '.github'
exclude: '.github/.keep'
Input Name | Required | Default | Description |
---|---|---|---|
paths |
no | '.github' | Space separated list of paths to check. |
exclude-paths |
no | '' | Space separated list of paths to exclude from check. |
exclude-authors |
no | 'github-classroom[bot]' | Pipe separated list of authors to exclude from check. This list is processed as a regular expression. Special characters must be escaped. |