Repository navigation
use pattern for download-artifact - #8009
Conversation
implement #8004
WalkthroughThe workflow configuration for GitHub Actions was updated to consolidate the steps involved in downloading installer and KNIME artifacts. Instead of downloading each artifact individually by name, the workflow now uses wildcard patterns to download all relevant artifacts in a single step for each group. Explanatory comments about previous limitations were removed. There were no changes to public interfaces, control flow, or environment variables. Changes
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Co-authored-by: Julianus Pfeuffer <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/openms_ci_matrix_full.yml (1)
769-771: Optional: Quote wildcard and remove trailing whitespace
For clarity and to satisfy YAML linting, you may want to quote the pattern and strip trailing spaces from thepathline. For example:- pattern: knime-* + pattern: "knime-*" - path: ${{ env.PLUGIN_SOURCE }} + path: ${{ env.PLUGIN_SOURCE }}🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 771-771: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/openms_ci_matrix_full.yml(2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/openms_ci_matrix_full.yml
[error] 771-771: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (11)
- GitHub Check: build-and-test (macos-14, xcode, 15.0.1)
- GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
- GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
- GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
- GitHub Check: build-and-test (macos-13, xcode, 14.2)
- GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
- GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
- GitHub Check: build-and-test (macos-13, xcode, 14.2)
- GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
- GitHub Check: build-and-test (macos-14, xcode, 15.0.1)
- GitHub Check: cppcheck-test
🔇 Additional comments (1)
.github/workflows/openms_ci_matrix_full.yml (1)
573-576: Great use of a wildcard to consolidate installer downloads
This replaces multiple repetitive steps with a single pattern-based download, improving maintainability. Please verify that all installer artifacts consistently use theinstaller-prefix so none are unintentionally omitted.
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/openms_ci_matrix_full.yml (1)
766-771: Streamline KNIME artifact downloads and fix trailing whitespaceUsing
pattern: knime-*along with thepathdirective neatly gathers all KNIME artifacts into${{ env.PLUGIN_SOURCE }}. One small nit: there’s a blank line at line 771 containing trailing spaces (YAMLLint reports atrailing-spaceserror). Please remove those spaces to satisfy linting.🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 771-771: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/openms_ci_matrix_full.yml(2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/openms_ci_matrix_full.yml
[error] 771-771: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (5)
- GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
- GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
- GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
- GitHub Check: build-and-test (macos-13, xcode, 14.2)
- GitHub Check: cppcheck-test
🔇 Additional comments (1)
.github/workflows/openms_ci_matrix_full.yml (1)
573-576: Simplify installer artifact downloads with wildcard patternThe new step replaces multiple explicit
name:entries with a singlepattern: installer-*, which correctly picks up all installer artifacts while reducing duplication. This consolidation makes it easier to add new platforms in the future without touching the CI config.
implement #8004
Summary by CodeRabbit