firstdraft / grade_runner

A Ruby client for grades.firstdraft.com
MIT License
1 stars 0 forks source link

Make git credentials optional #76

Closed jelaniwoods closed 10 months ago

jelaniwoods commented 10 months ago

Resolves #73 #74

Problem

A recent Gitpod change has made it so Git credentials (user.email and user.name) are no longer automatically set.

This causes a problem because the email and username are used when submitting results to grades.firstdraft.com. Without them, the task fails.

Solution

Make the git credentials optional.

Test instructions

gem "grade_runner", github: "firstdraft/grade_runner", branch: "73-optionally-allow-git-credentials"