From 839d171adc51314eb76c145aa3561208c11c5b4a Mon Sep 17 00:00:00 2001 From: DriesSchaumont <5946712+DriesSchaumont@users.noreply.github.com> Date: Thu, 4 Jul 2024 07:58:16 +0000 Subject: [PATCH 1/2] FEAT: add --query to pro/generate_documentaion_qmd --- CHANGELOG.md | 6 ++++++ pro/generate-documentation-qmd/action.yml | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e593886..a41df14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# viash-actions v6.2.0 + +## New functionality + +`pro/generate_documentation_qmd`: add `--query` parameter. + # viash-actions v6.1.0 ## New functionality diff --git a/pro/generate-documentation-qmd/action.yml b/pro/generate-documentation-qmd/action.yml index 2c6edc5..55f4304 100644 --- a/pro/generate-documentation-qmd/action.yml +++ b/pro/generate-documentation-qmd/action.yml @@ -58,6 +58,10 @@ inputs: required: false description: | An override for the `--src` parameter in `viash ns list`. Example: `src/`. + query: + required: false + description: | + Filter which components get selected by component and namespace name. Can be a regex. runs: using: 'composite' steps: @@ -96,6 +100,10 @@ runs: extra_args+=(--dest_path "${{ inputs.dest_path }}") fi + if [ ! -z "${{ inputs.query }}" ]; then + extra_args+=(--query "${{ inputs.query }}") + fi + $RUNNER_TEMP/viash_tools/target/docker/quarto/generate_documentation_qmd/generate_documentation_qmd \ --input "./" "${extra_args[@]}" \ --src "${{ inputs.src }}" \ From 8a416ef6f0fa536b453ec6c6a8fe2b047e675335 Mon Sep 17 00:00:00 2001 From: DriesSchaumont <5946712+DriesSchaumont@users.noreply.github.com> Date: Thu, 4 Jul 2024 07:58:47 +0000 Subject: [PATCH 2/2] Add PR number to CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a41df14..75742b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## New functionality -`pro/generate_documentation_qmd`: add `--query` parameter. +`pro/generate_documentation_qmd`: add `--query` parameter (PR #35). # viash-actions v6.1.0