You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,3 +63,55 @@ Set your service account password in the repository secrets setting with the nam
63
63
64
64
> [!IMPORTANT]
65
65
> The migration filename SHOULD comply to the naming scheme described in [bytebase-action](https://github.com/bytebase/bytebase/tree/main/action#global-flags) `--file-pattern` flag section.
66
+
67
+
### How to configure chatops-migrate.yml
68
+
69
+
Copy [chatops-migrate.yml](/.github/workflows/chatops-migrate.yml) to your repository.
70
+
71
+
This workflow enables ChatOps-style deployments through PR comments. Team members can trigger migrations by commenting `/migrate <environment>` on pull requests.
72
+
73
+
#### Configuration
74
+
75
+
1. **Define environments in the workflow**: Edit the `config.yaml` generation step to define your environments and their database targets.
76
+
77
+
> [!NOTE]
78
+
> The top-level keys (e.g., `test`, `prod`) are used as GitHub Actions job environments, so they must match the environment names configured in your repository settings.
0 commit comments