Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Fix Notify Classroom File #15

Merged
merged 13 commits into from
Dec 6, 2023
Merged

Fix Notify Classroom File #15

merged 13 commits into from
Dec 6, 2023

Conversation

ashishkeshan
Copy link
Contributor

This pull request primarily updates the NotifyClassroom function in the src/notify-classroom.js file and renames integration -> autograding for the job name in the .github/workflows/integration.yml file since that's what we look for in the code. The changes in the NotifyClassroom function include modifying how the function fetches and filters check runs.

Changes to NotifyClassroom function:

  • src/notify-classroom.js: Added console logs to print the token, octokit client, and run ID for debugging purposes.
  • src/notify-classroom.js: Modified the function to fetch the workflow run instead of listing check runs for the repository, and changed the check run filter to find the check run named "Autograding Tests" for the specific workflow run ID.

Changes to workflow:

  • .github/workflows/integration.yml: Changed the job name from integration to autograding.

@ashishkeshan ashishkeshan requested review from octosteve and a team December 6, 2023 22:04
@ashishkeshan ashishkeshan merged commit 5d5a993 into main Dec 6, 2023
5 checks passed
@ashishkeshan ashishkeshan deleted the fix-notify-classroom branch December 6, 2023 22:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants