WATCH_SCRIPT_GIT_REPO is set, Watch clones the repository, loads .ws rule files from it, and keeps the local copy in sync.
For additional Watch settings, see Watch configuration.
.env
| Environment variable | Description |
|---|---|
WATCH_SCRIPT_GIT_REPO | Git repository URL containing Watch rule files. When set, Watch loads rules from this repository instead of relying only on local files. |
WATCH_SCRIPT_GIT_BRANCH | Git branch Watch tracks when WATCH_SCRIPT_GIT_REPO is set. Use the branch that contains the rules for this deployment. |
WATCH_SCRIPT_GIT_USERNAME | Username used to authenticate when cloning a private rules repository over HTTPS. |
WATCH_SCRIPT_GIT_TOKEN | Personal access token or password used with WATCH_SCRIPT_GIT_USERNAME for private repository access. Store this as a secret. |