splor-mg / dados-aux-classificadores

0 stars 0 forks source link

Falha na execução do workflow em 2024-03-19T13:31:01Z #3

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago
Rscript scripts/extract.R
Error in `gmailr::gm_auth()`:
! Can't get Google credentials.
✖ No OAuth client has been configured.
ℹ To auth with the user flow, you must register an OAuth client with
  `gm_auth_configure()`.
ℹ See the article "Set up an OAuth client" for how to get a client:
  <https://gmailr.r-lib.org/dev/articles/oauth-client.html>
! gmailr appears to be running in a non-interactive session and it can't
  auto-discover credentials.
  You may need to call `gm_auth()` directly with all necessary specifics.
ℹ See gargle's "Non-interactive auth" vignette for more details:
ℹ <https://gargle.r-lib.org/articles/non-interactive-auth.html>
ℹ For general auth troubleshooting, set `options(gargle_verbosity = "debug")`
  to see more detailed debugging information.
Backtrace:
    ▆
 1. └─gmailr::gm_auth(token = gmailr::gm_token_read(path = "gmail.rds", key = "GMAILR_KEY"))
 2.   └─cli::cli_abort(...)
 3.     └─rlang::abort(...)
fjuniorr commented 7 months ago

Criei a variável GMAILR_KEY na organização splor-mg para os repostórios públicos e disponibilizei ela para o container docker em https://github.com/splor-mg/tabelas-auxiliares/commit/125a899a1f6d324867c17f8200a5aa19b1b5cc56 conforme https://splor-mg.github.io/cookiecutter-datapackage/0.1/cookbooks/gmail/#disponibilizacao-da-chave-privada-gmailr_key-para-o-github-actions