From 1f6cb4d17009b52981a9cc8e62378b2ce68f5d82 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Mon, 11 Mar 2024 12:00:10 +0100 Subject: [PATCH 1/9] [skip ci] Workflow propagation --- .github/workflows/check.yaml | 2 ++ .github/workflows/cla.yaml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/cla.yaml diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 1123ca0e..bc028582 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -70,6 +70,8 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main with: auto-update: true + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} grammar: if: github.event_name != 'push' name: Grammar Check πŸ”€ diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml new file mode 100644 index 00000000..b674b0b4 --- /dev/null +++ b/.github/workflows/cla.yaml @@ -0,0 +1,18 @@ +name: CLA πŸ” + +on: + issue_comment: + types: + - created + # For PRs that originate from forks + pull_request_target: + types: + - opened + - closed + - synchronize + +jobs: + CLA: + name: CLA πŸ“ + uses: insightsengineering/.github/.github/workflows/cla.yaml@main + secrets: inherit From f09c83ed0a40216931c976f2d98dfc94f1d2a73c Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 11:40:40 +0200 Subject: [PATCH 2/9] Add revdepcheck configuration --- .Rbuildignore | 2 ++ .github/workflows/on-demand.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .github/workflows/on-demand.yaml diff --git a/.Rbuildignore b/.Rbuildignore index 0892b041..bf50addf 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -16,3 +16,5 @@ man-roxygen/* ^\.gitlab-ci\.yml$ ^design$ ^pkgdown$ +^revdeprefs\.yaml$ +^revdep$ diff --git a/.github/workflows/on-demand.yaml b/.github/workflows/on-demand.yaml new file mode 100644 index 00000000..02843bb3 --- /dev/null +++ b/.github/workflows/on-demand.yaml @@ -0,0 +1,12 @@ +--- +name: On-demand πŸ§‘β€πŸ”¬ + +on: + schedule: + - cron: '45 3 * * 0' + workflow_dispatch: + +jobs: + revdepcheck: + name: revdepcheck ↩️ + uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main From a49e6e7096df90bd228e14285d83ccd8fd09e9bf Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 14:15:35 +0200 Subject: [PATCH 3/9] Add .covrignore to .Rbuildignore --- .Rbuildignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.Rbuildignore b/.Rbuildignore index bf50addf..8f7b80fd 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -18,3 +18,4 @@ man-roxygen/* ^pkgdown$ ^revdeprefs\.yaml$ ^revdep$ +^\.covrignore$ From 2004a8da7862e1ab3e75847cbed80082645e9d01 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 14:31:07 +0200 Subject: [PATCH 4/9] Add .covrignore to .pre-commit-config.yaml --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index feac9998..bcc9e2b8 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,6 +50,7 @@ repos: .*\.svg| .*\.xml| (.*/|)\_pkgdown.y[a]?ml| + (.*/|)\.covrignore| (.*/|)\.gitignore| (.*/|)\.gitlab-ci\.y[a]?ml| (.*/|)\.lintr| From 76d8138fd0bfdf068e2fc9a2c71662012d7688d4 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 14:59:42 +0200 Subject: [PATCH 5/9] Add new testthat snapshots to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 9adab247..4bed5527 100755 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ inst/doc .DS_Store *.html Rplots.pdf +tests/testthat/_snaps/**/*.new.md +tests/testthat/_snaps/**/*.new.svg From 91f69fd8ec4cd3bf837176720d6253d8d8bc2bff Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 15:25:07 +0200 Subject: [PATCH 6/9] [skip ci] Add revdep directory --- revdep/.gitignore | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 revdep/.gitignore diff --git a/revdep/.gitignore b/revdep/.gitignore new file mode 100644 index 00000000..111ab324 --- /dev/null +++ b/revdep/.gitignore @@ -0,0 +1,7 @@ +checks +library +checks.noindex +library.noindex +cloud.noindex +data.sqlite +*.html From 4146bc6cbda07c30689d5bc4fd35b94d62f380e6 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 26 Apr 2024 15:32:23 +0200 Subject: [PATCH 7/9] [skip ci] Fix typo --- .Rbuildignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.Rbuildignore b/.Rbuildignore index 8f7b80fd..2ae1c478 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -16,6 +16,6 @@ man-roxygen/* ^\.gitlab-ci\.yml$ ^design$ ^pkgdown$ -^revdeprefs\.yaml$ +^.revdeprefs\.yaml$ ^revdep$ ^\.covrignore$ From aef3c55116db1f7bf8ec9601e1c203e80c7ae5eb Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:44:00 -0500 Subject: [PATCH 8/9] Update check.yaml Signed-off-by: cicdguy <26552821+cicdguy@users.noreply.github.com> --- .github/workflows/check.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index bc028582..35209022 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -29,6 +29,10 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + with: + enforce-note-blocklist: false + additional-env-vars: | + NOT_CRAN=true linter: if: github.event_name != 'push' name: SuperLinter πŸ¦Έβ€β™€οΈ From 00cd19f1d2e4aebe01cc56bab37be73591bcd0d5 Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Mon, 29 Apr 2024 11:15:50 -0500 Subject: [PATCH 9/9] Update check.yaml Signed-off-by: cicdguy <26552821+cicdguy@users.noreply.github.com> --- .github/workflows/check.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 35209022..6c999659 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -30,7 +30,6 @@ jobs: secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: - enforce-note-blocklist: false additional-env-vars: | NOT_CRAN=true linter: