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

Explicitly trigger the Autograding workflow after skills/action-update-step #12

Merged
merged 1 commit into from
May 28, 2024

Conversation

smashwilson
Copy link
Contributor

@smashwilson smashwilson commented May 28, 2024

Tasks performed by the GitHub Actions GITHUB_TOKEN, such as commit pushes, do not create new workflow runs. This means that the commit and push performed by our skills/action-update-step@v2 steps are not triggering GitHub Classroom's autograding workflow, which in turn is preventing learners from having their Experience marked as complete after they finish the final step.

The autograding workflow is created with a repository_dispatch trigger. This modifies our Actions workflows to manually create a repository_dispatch event on the repository after the step update commit has been pushed, causing autograding to run after the -step.txt file has received its final update, at which point it will be able to succeed.

Should address #6.

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.

1 participant