From f21b89c2549d4cb367d49c9c077329946ba1fded Mon Sep 17 00:00:00 2001 From: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:55:45 -0700 Subject: [PATCH] Add skip option and remove version_number (#116) --- .github/workflows/release-internal.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-internal.yml b/.github/workflows/release-internal.yml index 01f1a9e3..c272b809 100644 --- a/.github/workflows/release-internal.yml +++ b/.github/workflows/release-internal.yml @@ -15,10 +15,6 @@ name: "Release internal patch" on: workflow_dispatch: inputs: - version_number: - description: "The release version number (i.e. 1.0.0b1)" - type: string - required: true ref: description: "The ref (sha or branch name) to use" type: string @@ -29,6 +25,11 @@ on: type: string default: "python -c \"import dbt.adapters.postgres\"" required: true + skip_tests: + description: "Should the tests be skipped? (default to false)" + type: boolean + required: true + default: false defaults: run: @@ -41,9 +42,9 @@ jobs: uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@main" with: - version_number: "${{ inputs.version_number }}" package_test_command: "${{ inputs.package_test_command }}" dbms_name: "postgres" ref: "${{ inputs.ref }}" + skip_tests: "${{ inputs.skip_tests }}" secrets: "inherit"