From e74cd1308c813543f03efc51f3bc13ba4e823670 Mon Sep 17 00:00:00 2001 From: Dony Unardi Date: Mon, 9 Dec 2024 15:37:42 -0800 Subject: [PATCH] add formatters and rtables --- .github/workflows/check.yaml | 12 ++++++++++++ .github/workflows/docs.yaml | 3 +++ .github/workflows/release.yaml | 12 ++++++++++++ .github/workflows/scheduled.yaml | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 577262ff..d14265e9 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -42,6 +42,9 @@ jobs: unit-test-report-brand: >- https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/teal.png deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables r-cmd-non-cran: name: R CMD Check (non-CRAN) đŸ§Ŧ @@ -65,6 +68,9 @@ jobs: checking for unstated dependencies in vignettes .* NOTE checking top-level files .* NOTE deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables coverage: name: Coverage 📔 uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main @@ -74,6 +80,9 @@ jobs: additional-env-vars: | NOT_CRAN=true deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables linter: if: github.event_name != 'push' @@ -87,6 +96,9 @@ jobs: with: auto-update: true deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables gitleaks: name: gitleaks 💧 uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8fdf0ae0..1433a602 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -43,3 +43,6 @@ jobs: default-landing-page: latest-tag additional-unit-test-report-directories: unit-test-report-non-cran deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 56a0ccd5..34f8f34b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,6 +17,9 @@ jobs: with: default-landing-page: latest-tag deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables validation: name: R Package Validation report 📃 needs: release @@ -25,6 +28,9 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables release: name: Create release 🎉 uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main @@ -50,6 +56,9 @@ jobs: unit-test-report-brand: >- https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/teal.png deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables coverage: name: Coverage 📔 needs: [release, docs] @@ -60,6 +69,9 @@ jobs: additional-env-vars: | NOT_CRAN=true deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables wasm: name: Build WASM packages 🧑‍🏭 needs: release diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 746c44c5..46eb92d5 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -57,6 +57,10 @@ jobs: ) name: revdepcheck ↩ī¸ uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main + with: + lookup-refs: | + insightsengineering/formatters + insightsengineering/rtables rhub: if: > github.event_name == 'schedule' || (