From b34c2065c0c1410b8ad7ba79e427ca6104a02418 Mon Sep 17 00:00:00 2001 From: Joe Thorley Date: Tue, 14 Jul 2026 09:05:49 -0700 Subject: [PATCH] Standardize CI via reusable workflows (tier: unimportant) Replace ad hoc workflows with thin callers to the reusable CI in poissonconsulting/.github (R-CMD-check, test-coverage, pkgdown), migrating any fledge callers to the current .yaml templates. Co-Authored-By: Claude Fable 5 --- .github/workflows/R-CMD-check.yaml | 3 ++- .github/workflows/{fledge-bump.yml => fledge-bump.yaml} | 4 ++-- .../{fledge-tag-on-merge.yml => fledge-tag-on-merge.yaml} | 4 ++-- .github/workflows/pkgdown.yaml | 3 ++- .github/workflows/test-coverage.yaml | 3 ++- 5 files changed, 10 insertions(+), 7 deletions(-) rename .github/workflows/{fledge-bump.yml => fledge-bump.yaml} (81%) rename .github/workflows/{fledge-tag-on-merge.yml => fledge-tag-on-merge.yaml} (78%) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 0458c80..02eb5de 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -3,7 +3,7 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] + branches: [main, master, dev] permissions: contents: read jobs: @@ -12,6 +12,7 @@ jobs: with: tier: unimportant jags: false + cmdstan: false tex: false private: false secrets: inherit diff --git a/.github/workflows/fledge-bump.yml b/.github/workflows/fledge-bump.yaml similarity index 81% rename from .github/workflows/fledge-bump.yml rename to .github/workflows/fledge-bump.yaml index 51becd4..0933150 100644 --- a/.github/workflows/fledge-bump.yml +++ b/.github/workflows/fledge-bump.yaml @@ -1,6 +1,6 @@ # Daily fledge dev-version bump. Calls the reusable engine in poissonconsulting/.github. # Requires the org-level secrets FLEDGE_APP_ID and FLEDGE_APP_PRIVATE_KEY (passed via -# `secrets: inherit`) and the companion fledge-tag-on-merge.yml workflow in this repo. +# `secrets: inherit`) and the companion fledge-tag-on-merge.yaml workflow in this repo. name: fledge-bump @@ -15,5 +15,5 @@ permissions: jobs: fledge-bump: - uses: poissonconsulting/.github/.github/workflows/fledge-bump.yml@v1 + uses: poissonconsulting/.github/.github/workflows/fledge-bump.yaml@v1 secrets: inherit diff --git a/.github/workflows/fledge-tag-on-merge.yml b/.github/workflows/fledge-tag-on-merge.yaml similarity index 78% rename from .github/workflows/fledge-tag-on-merge.yml rename to .github/workflows/fledge-tag-on-merge.yaml index dc2c27c..52508d8 100644 --- a/.github/workflows/fledge-tag-on-merge.yml +++ b/.github/workflows/fledge-tag-on-merge.yaml @@ -1,5 +1,5 @@ # Tags the dev version on main after a release-path fledge-bump PR merges. -# Required alongside fledge-bump.yml. Calls the reusable engine in poissonconsulting/.github. +# Required alongside fledge-bump.yaml. Calls the reusable engine in poissonconsulting/.github. name: fledge-tag-on-merge @@ -14,5 +14,5 @@ permissions: jobs: tag: if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'fledge-bump' - uses: poissonconsulting/.github/.github/workflows/fledge-tag-on-merge.yml@v1 + uses: poissonconsulting/.github/.github/workflows/fledge-tag-on-merge.yaml@v1 secrets: inherit diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 78fd5be..baeb886 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -3,7 +3,7 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] + branches: [main, master, dev] release: types: [published] workflow_dispatch: @@ -13,5 +13,6 @@ jobs: pkgdown: uses: poissonconsulting/.github/.github/workflows/pkgdown.yaml@v1 with: + cmdstan: false private: false secrets: inherit diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index dac8c3d..49a0cbc 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -3,13 +3,14 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] + branches: [main, master, dev] permissions: contents: read jobs: test-coverage: uses: poissonconsulting/.github/.github/workflows/test-coverage.yaml@v1 with: + cmdstan: false tex: false private: false secrets: inherit