Skip to content

Switch CI to bioconductor/workflows - #108

Open
LiNk-NY wants to merge 1 commit into
develfrom
bioc-workflows-ci
Open

LiNk-NY wants to merge 1 commit into
develfrom
bioc-workflows-ci

Conversation

@LiNk-NY

@LiNk-NY LiNk-NY commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Replaces the waldronlab/.github bioc-pr-cmdcheck-pkgdown.yml caller in .github/workflows/ci.yml with the bioconductor/workflows bioccheck.yml reusable workflow, matching waldronlab/TCGAutils#41.

What changes

  • R CMD check and BiocCheck run in the bioconductor/bioconductor_docker container. The Bioconductor version comes from the branch: devel uses devel and RELEASE_X_Y uses that release. PRs use their base branch. The job is Linux only.
  • The job fails on an R CMD check WARNING or above, or on a BiocCheck ERROR.
  • pkgdown is enabled, but the workflow deploys only on pushes to RELEASE_*, so the site will track the release version. A companion PR puts the same workflow on RELEASE_3_24.
  • Coverage and test results are uploaded to Codecov using the organization CODECOV_TOKEN secret. Coverage is uploaded only from non-release branches.
  • Push triggers no longer use the DESCRIPTION / *.yml path filter. CI runs on every push to devel and RELEASE_*.
  • The workflow is pinned to @main, which upstream recommends until it tags v1.

Repository settings

Already done: Pages builds from GitHub Actions, and the github-pages environment allows deployments from RELEASE_3_24.

Drafted with Claude Opus 5.5

🤖 Generated with Claude Code

Replace the waldronlab bioc-pr-cmdcheck-pkgdown workflow with
bioconductor/workflows bioccheck.yml: R CMD check and BiocCheck in the
Bioconductor Docker container, pkgdown deployment from RELEASE_*
branches, and Codecov coverage upload via CODECOV_TOKEN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread .github/workflows/ci.yml
contents: read
pages: write
id-token: write
uses: bioconductor/workflows/.github/workflows/bioccheck.yml@main

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reusable workflow is pinned to the mutable @main branch, and it receives CODECOV_TOKEN plus pages: write and id-token: write. Any change pushed upstream runs here with those privileges, and a breaking change would fail CI without any change in this repo. Pin to a full commit SHA (bioconductor/workflows/.github/workflows/bioccheck.yml@<sha> # main) and let Dependabot bump it. If you stay on @main, add a note saying that's intentional.

Also, pages: write and id-token: write are only needed for the RELEASE_* deploy. Check whether the workflow can scope them to that case, so PR runs get fewer privileges.

@claude

claude Bot commented Dec 4, 2026

Copy link
Copy Markdown

Review of the CI switch. I found no bugs in the workflow syntax, and I didn't touch the R code, so exported functions and docs are unaffected. Two things worth acting on:

  1. Pin the reusable workflow (ci.yml:15). @main is mutable and the workflow receives CODECOV_TOKEN, pages: write and id-token: write. Pin to a commit SHA, or record that tracking @main is deliberate.
  2. Expect BiocCheck to fail on the first run. It is now gated at ERROR, and R CMD check at WARNING. The old workflow may not have enforced either. Confirm the first CI run is green on this branch before merging.

Minor: the pkgdown site now deploys only from RELEASE_*, so devel doc changes won't appear on the site until a release branch is updated. That matches the PR description, but the README or site links may need to say so.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant