Skip to content

Commit

Permalink
update validation code
Browse files Browse the repository at this point in the history
  • Loading branch information
LucieContamin committed Apr 16, 2024
1 parent cc52d8b commit ec8f75b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pr_files <- gh::gh(paste0("GET /repos/",
Sys.getenv("GH_PR_NUMBER"), "/files"))

pr_files_name <- purrr::map(pr_files, "filename")
pr_files_name <- pr_files_name[!"removed" == purrr::map(pr_files, "status")]
pr_sub_files <-
stringr::str_extract(pr_files_name,
"data-processed/.+/\\d{4}-\\d{2}-\\d{2}(-.*)?")
Expand Down

0 comments on commit ec8f75b

Please sign in to comment.