Course automation Proposal: Checking legal group composition #996
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Course Automation Proposal: Checking legal group composition
Members:
Henrik Kultala (kultala@kth.se)
GitHub: hengque
Eleonora Borzi (borzi@kth.se)
GitHub: EleonoraBorzis
Group rules for this course:
Max 3 persons in a group
You cannot be with the same persons for more than 2 projects.
You can work alone on one or at most two projects.
When you send a pull request for registration, please follow the name convention of using the email addresses of two members to create the folder: email-email.
This is assumed to be the same email addresses as specified in the readme.
This is also assumed to mean “all members of the group” and not “two members”; i.e. if there are three members then all three members email address should be included in the folder name.
Proposal
When a new project is proposed, the readme and the folder name are checked for the names of the group members. The group validity is checked against the rules stated above and a comment with the results is posted on the PR. It also checks that the name of the folder is correct in relation to the email addresses in the readme.
Tools:
Github Actions
Bonus: Status Check on GitHub