From 2192d2149c618238808290e79befca978279dc86 Mon Sep 17 00:00:00 2001 From: Guy Ben-Aharon Date: Wed, 13 Aug 2025 15:59:01 +0300 Subject: [PATCH] fix password --- README.md | 2 +- action.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 64761c2..f21c984 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Automatically sync your database schema with [ChartDB](https://chartdb.io) to ke - 🔒 Secure handling of credentials via GitHub Secrets - 🐳 Docker-based for consistent execution - 🗄️ Supports PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, ClickHouse, CockroachDB, and Oracle -x + ## Usage ### Basic Example diff --git a/action.yml b/action.yml index f065993..6566213 100644 --- a/action.yml +++ b/action.yml @@ -61,11 +61,7 @@ runs: DOCKER_CMD="$DOCKER_CMD -e DB_TYPE='${{ inputs.db-type }}'" DOCKER_CMD="$DOCKER_CMD -e CHARTDB_API_TOKEN='${{ inputs.chartdb-api-token }}'" DOCKER_CMD="$DOCKER_CMD -e CHARTDB_DIAGRAM_ID='${{ inputs.chartdb-diagram-id }}'" - - # Add password if provided - if [ ! -z "${{ inputs.db-password }}" ]; then - DOCKER_CMD="$DOCKER_CMD -e DB_PASSWORD='${{ inputs.db-password }}'" - fi + DOCKER_CMD="$DOCKER_CMD -e DB_PASSWORD='${{ inputs.db-password }}'" DOCKER_CMD="$DOCKER_CMD ghcr.io/chartdb/syncer:latest"