Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: github action readme (#15927)

p0ny43a14851cfe0
diff --git a/action/README.md b/action/README.md
new file mode 100644
index 0000000000..2aa848bc2b
--- /dev/null
+++ b/action/README.md
@@ -0,0 +1,26 @@
+# About
+
+`bytebase-action` helps to do common chores in database CI/CD with Bytebase.
+
+# Inputs
+
+This action requires the following inputs, configured as environment variables:
+
+## Environment Variables
+
+- **`BYTEBASE_URL`**: The Bytebase instance URL.
+
+- **`BYTEBASE_SERVICE_ACCOUNT`**: The service account email.
+
+- **`BYTEBASE_SERVICE_ACCOUNT_SECRET`**: The service account password.
+
+- **`BYTEBASE_PROJECT`**: The target Bytebase project name.
+ * Format: `projects/{project}`
+
+- **`BYTEBASE_TARGETS`**: A comma-separated string listing the target databases or database groups.
+ * Can specify a database group or individual databases.
+ * Formats:
+ * Database: `instances/{instance}/databases/{database}`
+ * Database Group: `projects/{project}/databaseGroups/{databaseGroup}`
+
+- **`FILE_PATTERN`**: A pattern used to glob SQL migration files.
\ No newline at end of file