From 6b0f188c72069b1c9f10186eea8feec8eaf7c485 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 24 Aug 2023 22:35:47 +0200 Subject: [PATCH] use ci vars if possible --- .woodpecker/lint.yml | 4 ++-- .woodpecker/test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 73330ff..cc6fdd3 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -12,7 +12,7 @@ steps: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq - poetry install - - poetry run yapf -dr ./gitbatch + - poetry run yapf -dr ./${CI_REPO_NAME//-/} environment: PY_COLORS: "1" @@ -22,6 +22,6 @@ steps: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq - poetry install - - poetry run ruff ./gitbatch + - poetry run ruff ./${CI_REPO_NAME//-/} environment: PY_COLORS: "1" diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 1091d9f..4df55e5 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -25,6 +25,6 @@ steps: - pip install poetry poetry-dynamic-versioning -qq - poetry install - poetry version - - poetry run git-batch --help + - poetry run ${CI_REPO_NAME} --help environment: PY_COLORS: "1"