⚠️ Early users: please update your repository to ensure correct homework checks! 🙏 #47
niosus
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Your copy of the
homeworks
repository created from the template homeworks repository has a configuration for the GitHub actions that run all the checks on your homeworks. I've made it more general and future proof, but that means that your current configuration might be outdated and you might need to update it manually.What does it mean for you?
Unfortunately, if you created your homeworks repository before 22nd of November 2022 you'll have to do the following: copy the homework definition from the template repository, from this file: https://github.com/cpp-for-yourself/homeworks/blob/main/.github/workflows/check-homework.yml into your own copy of the homeworks repository, that lives here:
https://github.com/<your_username>/<name_of_your_repo>/blob/main/.github/workflows/check-homework.yml
(note the<user_name>
part that you have to replace with your username and the<name_of_your_repo>
part that you have to replace with the name of your own homework repository)Why this change
When I started this project I implemented this job directly in the template repository. However, as always, there are things I wanted to change afterwards so I had to improve on that solution: I made the template repository GitHub actions configuration reuse a different configuration in this commit: cpp-for-yourself/homeworks@89facfb.
This way from now on, I will be able to make changes to the way the homeworks are checked for everybody even after they generate their new homeworks repository from the template as all of the homework actions will use the same GitHub workflow.
Beta Was this translation helpful? Give feedback.
All reactions