diff --git a/.github/workflows/build-images-and-create-deployment.yml b/.github/workflows/build-images-and-create-deployment.yml index fbe35ab94cdd7..9a3ae1a7cffc8 100644 --- a/.github/workflows/build-images-and-create-deployment.yml +++ b/.github/workflows/build-images-and-create-deployment.yml @@ -45,7 +45,7 @@ jobs: uses: avakar/create-deployment@v1 # To stop deployment to a specific DEPLOYMENT_STAGE remove it from condition below. # The DEPLOYMENT_STAGE that should be present are dev, stage, prod. - if: env.DEPLOYMENT_STAGE == 'prod' || env.DEPLOYMENT_STAGE == 'stage' || env.DEPLOYMENT_STAGE == 'dev' + if: env.DEPLOYMENT_STAGE == 'prod' || env.DEPLOYMENT_STAGE == 'stage' with: auto_merge: false environment: ${{ env.DEPLOYMENT_STAGE }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00a04f5fbff25..c2f17a6361751 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 24.3.0 # Must be kept in sync with black version in python_dependencies/common/requirements.txt + rev: 24.4.2 # Must be kept in sync with black version in python_dependencies/common/requirements.txt hooks: - id: black stages: [commit] @@ -14,7 +14,7 @@ repos: exclude_types: ["json"] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.4.3 # Must be kept in sync with ruff version in python_dependencies/common/requirements.txt + rev: v0.4.4 # Must be kept in sync with ruff version in python_dependencies/common/requirements.txt hooks: - id: ruff args: ["--config=pyproject.toml", "--fix"] diff --git a/python_dependencies/common/requirements-dev.txt b/python_dependencies/common/requirements-dev.txt index 1c08f75e02be2..1ffdd9abc3533 100644 --- a/python_dependencies/common/requirements-dev.txt +++ b/python_dependencies/common/requirements-dev.txt @@ -1,9 +1,7 @@ allure-pytest<3 -black==24.3.0 # Must be kept in sync with black version in .pre-commit-config.yaml click coverage parameterized pytest pytest-mock pytest-subtests -ruff==0.4.3 # Must be kept in sync with ruff version in .pre-commit-config.yaml