diff --git a/.github/workflows/_changelog-entry-check.yml b/.github/workflows/_changelog-entry-check.yml index 3e2c324f..ddc97290 100644 --- a/.github/workflows/_changelog-entry-check.yml +++ b/.github/workflows/_changelog-entry-check.yml @@ -1,7 +1,8 @@ name: "Changelog entry check" +# this cannot be tested via workflow_dispatch +# dorny/paths-filter inspects the current trigger to determine how to compare branches on: - pull_request: workflow_call: inputs: package: @@ -12,16 +13,6 @@ on: description: "The PR number" type: string required: true - workflow_dispatch: - inputs: - package: - description: "Choose the package to test" - type: string - default: "dbt-adapters" - pull-request: - description: "The PR number" - type: string - required: true permissions: contents: read diff --git a/pyproject.toml b/pyproject.toml index 0fef004a..36c63556 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,8 +64,6 @@ dependencies = [ setup = "pre-commit install" code-quality = "pre-commit run --all-files" unit-tests = "python -m pytest {args:tests/unit}" - -test-changelog-entry-check = "gh workflow run _changelog-entry-check.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f pull-request={args}" test-publish = "gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD) -f deploy-to=test -f pypi-internal=false -f pypi-public=true" [tool.hatch.envs.build]