From 6bcfaaa9a555fbc85e0e8d22716c9df6ed6c9e94 Mon Sep 17 00:00:00 2001 From: Ali Sajid Imami <395482+AliSajid@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:02:03 -0400 Subject: [PATCH 1/3] move to the pre-defined github tokein --- .Rprofile | 6 ++++++ .github/workflows/rworkflows.yml | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.Rprofile b/.Rprofile index 81b960f..8c7f49f 100644 --- a/.Rprofile +++ b/.Rprofile @@ -1 +1,7 @@ +if (interactive()) { + if (file.exists("~/.Rprofile")) { + source("~/.Rprofile") + } +} + source("renv/activate.R") diff --git a/.github/workflows/rworkflows.yml b/.github/workflows/rworkflows.yml index b2a155b..6987538 100644 --- a/.github/workflows/rworkflows.yml +++ b/.github/workflows/rworkflows.yml @@ -1,5 +1,6 @@ name: rworkflows -'on': +on: + workflow_dispatch: push: branches: - master @@ -48,7 +49,7 @@ jobs: run_pkgdown: ${{ true }} has_runit: ${{ false }} has_latex: ${{ false }} - GITHUB_TOKEN: ${{ secrets.PAT_GITHUB }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run_docker: ${{ false }} DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} runner_os: ${{ runner.os }} From e84d82ba34472a88321a8395b6c0ea05b1e1f27f Mon Sep 17 00:00:00 2001 From: Ali Sajid Imami <395482+AliSajid@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:39:55 -0400 Subject: [PATCH 2/3] build: gitignore Rprofile --- .Rprofile | 7 ------- .gitignore | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 .Rprofile diff --git a/.Rprofile b/.Rprofile deleted file mode 100644 index 8c7f49f..0000000 --- a/.Rprofile +++ /dev/null @@ -1,7 +0,0 @@ -if (interactive()) { - if (file.exists("~/.Rprofile")) { - source("~/.Rprofile") - } -} - -source("renv/activate.R") diff --git a/.gitignore b/.gitignore index f47ffab..6c31561 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .httr-oauth .DS_Store inst/doc +.Rprofile \ No newline at end of file From 7ddb8ec1b1e44ddc0548b4cc6198078ccb9f8b39 Mon Sep 17 00:00:00 2001 From: Ali Sajid Imami <395482+AliSajid@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:56:02 -0400 Subject: [PATCH 3/3] Update rworkflows.yml --- .github/workflows/rworkflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rworkflows.yml b/.github/workflows/rworkflows.yml index 6987538..1ded4e8 100644 --- a/.github/workflows/rworkflows.yml +++ b/.github/workflows/rworkflows.yml @@ -46,7 +46,7 @@ jobs: run_vignettes: ${{ true }} has_testthat: ${{ true }} run_covr: ${{ true }} - run_pkgdown: ${{ true }} + run_pkgdown: ${{ false }} has_runit: ${{ false }} has_latex: ${{ false }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}