Skip to content

fix(tools): exclude quiz and exam types from challenge helper prompts - #71259

Open
Brayden-14-debug wants to merge 1 commit into
freeCodeCamp:mainfrom
Joseph-Russell-UTM:fix/exclude-quiz-from-challenge-scripts
Open

Brayden-14-debug wants to merge 1 commit into
freeCodeCamp:mainfrom
Joseph-Russell-UTM:fix/exclude-quiz-from-challenge-scripts

Conversation

@Brayden-14-debug

@Brayden-14-debug Brayden-14-debug commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Closes #70987

Following the approach suggested in #70987 (comment): create-next-challenge and insert-challenge add a challenge to an existing block, while quizzes and exams have their own blocks and are created with create-new-project.

  • newChallengePrompts now filters quiz, exam, examDownload, and invalid out of the challenge type choices, so contributors can't select a type these scripts can't create.
  • All other challenge types are listed as before.

I made this change in the GitHub web editor and haven't run the scripts locally yet.

@Brayden-14-debug
Brayden-14-debug requested a review from a team as a code owner October 22, 2026 01:15
@github-actions github-actions Bot added scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there,

Thanks for opening this pull request.

The automated checks found some issues:

Checklist: The PR description is missing the required checklist or some of its items are not completed:

  1. The Checklist: heading is present in the PR description.
  2. The checkbox items are ticked (changed from [ ] to [x]).
  3. You have actually completed the items in the checklist.

Please edit your PR description to include the following template with the checklist items completed.

Checklist:

<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [ ] I have read and followed the [contribution guidelines](https://contribute.freecodecamp.org).
- [ ] I have read and followed the [how to open a pull request guide](https://contribute.freecodecamp.org/how-to-open-a-pull-request/).
- [ ] My pull request targets the `main` branch of freeCodeCamp.
- [ ] I have tested these changes either locally on my machine, or GitHub Codespaces.

<!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.-->

Closes #XXXXX

<!-- Feel free to add any additional description of changes below this line -->

Join us in our chat room or our forum if you have any questions or need help with contributing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quiz creation fails in create-next-challenge and insert-challenge

1 participant