I'm trying to set up codecov monitoring for a public R package, where GitHub Actions will run covr::codecov
. I'm looking at this .yaml example (Source):
- name: Test coverage
if: matrix.r == '3.6'
run: |
Rscript -e 'remotes::install_github("r-lib/covr@gh-actions")'
Rscript -e 'covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")'
Is it safe for me to put my codecov token in the .yaml file in place of where the above example has CODECOV_TOKEN
?