Skip to content

Commit

Permalink
Disable GH issues by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ledoyen committed Nov 23, 2024
1 parent 55a7208 commit 6f49792
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class GradingJobLauncher : Callable<Int> {
.addStep("display") { _ -> println(counter.incrementAndGet()) }
.addStep("grading", grader)
.addStoreResultsLocallyStep()
.addUpsertGitHubIssuesStep(Locale.FRENCH, grader::deadline, dryRun)
.addUpsertGitHubIssuesStep(Locale.FRENCH, grader::deadline, dryRun = true)

private fun buildLocalGradingJob(grader: Grader<GradingContext>, branch: String?, localRepo: Optional<Path>, reportPath: Optional<Path>) = GradingJob()
.addCloneStep(forcePull, branch, localRepo.getOrNull()?.absolute())
Expand All @@ -104,7 +104,7 @@ class GradingJobLauncher : Callable<Int> {
private fun buildContainerizedGradingJob(grader: Grader<GradingContext>) = GradingJob()
.addCloneStep(forcePull)
.addStep("grading", grader)
.addUpsertGitHubIssuesStep(Locale.FRENCH, grader::deadline)
.addUpsertGitHubIssuesStep(Locale.FRENCH, grader::deadline, dryRun = true)
.addSendStep()

companion object {
Expand Down

0 comments on commit 6f49792

Please sign in to comment.