ci: Fix comment - #55
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates a comment in the GitHub Actions workflow file to clarify when the versions-matrix step runs. The change splits a previously single-line comment into two bullet points to better describe the conditions for pull requests.
Changes:
- Updated comment documentation for the
versions-matrixstep to clarify execution conditions for pull requests
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # - pull requests if the base repo is different from the head repo | ||
| # - pull requests if the branch name starts with "cran-" |
There was a problem hiding this comment.
The comment is logically incorrect. Based on the condition at line 142, this step runs for:
- ALL non-pull-request events (not just pull requests)
- Pull requests where repos are different OR branch starts with "cran-"
The updated comment incorrectly implies this only runs for pull requests. The comment should clarify that for pull requests, it runs when EITHER condition is met (different repos OR cran- branch), and it also runs for all non-pull-request events (subject to the workflow_dispatch constraint).
No description provided.