From 111ca69549dc450379a954928e77ff56d564ea7d Mon Sep 17 00:00:00 2001 From: "Wei-Chun, Chang" Date: Tue, 12 Sep 2023 10:01:13 +0800 Subject: [PATCH] Support skip-datasource option Signed-off-by: Wei-Chun, Chang --- README.md | 1 + action.yml | 5 +++++ compare-action/action.yml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 4c56ee3..936e89a 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ The following basic parameters are available: | working_directory | No | This input is optional and allows you to specify the working directory to use for the comparison. If not specified, the default working directory will be used. | | modified | No | Only compare the modified models if set to `True`. | | select | No | Specify the dbt nodes to include. | +| skip_datasource | No | Skip accessing the connection of datasource. | | piperider_version | No | This input is optional and allows you to specify the version of PipeRider to use for the comparison. If not specified, the latest version will be used. | ### (Optional) PipeRider Cloud Parameters
The following parameters are available for using PipeRider Cloud: diff --git a/action.yml b/action.yml index 9952e73..14c49d4 100644 --- a/action.yml +++ b/action.yml @@ -23,6 +23,10 @@ inputs: select: description: 'Specify the dbt nodes to include' required: false + skip_datasource: + description: 'Skip accessing the connection of datasource' + default: false + required: false upload: description: 'Whether to upload the comparison results to the cloud' required: false @@ -71,6 +75,7 @@ runs: piperider_version: ${{ inputs.piperider_version }} modified: ${{ inputs.modified }} select: ${{ inputs.select }} + skip_datasource: ${{ inputs.skip_datasource }} - name: Upload Generated Report uses: actions/upload-artifact@v3 if: github.event_name == 'pull_request' diff --git a/compare-action/action.yml b/compare-action/action.yml index c2e49aa..91be273 100644 --- a/compare-action/action.yml +++ b/compare-action/action.yml @@ -23,6 +23,10 @@ inputs: select: description: 'Specify the dbt nodes to include' required: false + skip_datasource: + description: 'Skip accessing the connection of datasource' + default: false + required: false upload: description: 'Whether to upload the comparison results to the cloud' required: false