dkamm/PR Quiz
A GitHub Action that uses AI to generate a quiz based on a pull request
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jul 28, 2025
- License
- MIT
Pinned Snippet
uses: dkamm/pr-quiz@8843130fd1e2fa711a112b6dded1947493471350 # v0.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API access | yes | — |
| openai-api-key | OpenAI API key for API access | yes | — |
| ngrok-authtoken | The ngrok authtoken to use for the server hosting the quiz. | yes | — |
| model | The model to use for generating the quiz. It must be a model that supports structured outputs. Defaults to 'o4-mini'. | no | o4-mini |
| lines-changed-threshold | The minimum number of lines changed required to create a quiz. This is to prevent quizzes from being created for small pull requests. | no | 100 |
| time-limit-minutes | The time limit to complete the quiz in minutes. This prevents the action from running indefinitely. | no | 10 |
| max-attempts | The maximum number of attempts to pass the quiz. A value of 0 means unlimited attempts. | no | 3 |
| exclude-file-patterns | A list of file patterns to exclude from the quiz as a JSON-ified string. | no | ["**/*-lock.json", "**/*-lock.yaml", "**/*.lock", "**/*.map", "**/*.pb.*", "**/*_pb2.py", "**/*.generated.*", "**/*.auto.*"] |
| system-prompt | Optional override for the system prompt. Be sure the specify that multiple choice questions must be returned. | no | — |
Outputs
no outputs