Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ jobs:

- id: versions-matrix
# Only run for:
# - pull requests if the base repo is different from the head repo and the branch name does not start with "cran-"
# - pull requests if the base repo is different from the head repo
# - pull requests if the branch name starts with "cran-"
Comment on lines +137 to +138

Copilot AI Jan 13, 2026

Copy link

Choose a reason for hiding this comment

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

The comment is still inaccurate. The actual logic on line 142 uses OR conditions, not separate scenarios. For pull requests, the step runs if EITHER the repos are different OR the branch name starts with "cran-", not both conditions separately. Consider revising to: "- pull requests if the base repo is different from the head repo OR the branch name starts with 'cran-'"

Suggested change
# - pull requests if the base repo is different from the head repo
# - pull requests if the branch name starts with "cran-"
# - pull requests if the base repo is different from the head repo OR the branch name starts with "cran-"

Copilot uses AI. Check for mistakes.
# Do not run for:
# - workflow_dispatch if not requested
# Always run for other events.
Expand Down
Loading