Skip to content

Commit

Permalink
Merge branch 'main' into validation
Browse files Browse the repository at this point in the history
  • Loading branch information
LucieContamin committed Nov 14, 2023
2 parents 401c310 + 3557eb2 commit dc59c99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Validate Submission
on:
pull_request_target:
branches:
- master
- main

jobs:
validates-viz-files:
Expand Down
4 changes: 2 additions & 2 deletions code/validation/validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test_valid <- purrr::map(test_tot, "valid")
message <- purrr::map(test_valid, paste, collapse = "\n")

lapply(seq_len(length(message)), function(x) {
gh::gh(paste0("POST /repos/", "midas-network/flu-scenario-modeling-hub/",
gh::gh(paste0("POST /repos/", "midas-network/rsv-scenario-modeling-hub/",
"issues/", Sys.getenv("GH_PR_NUMBER"),"/comments"),
body = message[[x]],
.token = Sys.getenv("GH_TOKEN"))
Expand All @@ -92,7 +92,7 @@ if (any(!is.na(test_viz))) {
"tag `@LucieContamin` for any question.")))
}

gh::gh(paste0("POST /repos/", "midas-network/flu-scenario-modeling-hub/",
gh::gh(paste0("POST /repos/", "midas-network/rsv-scenario-modeling-hub/",
"issues/", Sys.getenv("GH_PR_NUMBER"),"/comments"),
body = message_plot,
.token = Sys.getenv("GH_TOKEN"))
Expand Down

0 comments on commit dc59c99

Please sign in to comment.