6 posts tagged with "Git sync"
View All TagsThe Git to Windmill direction of git sync now works fully in-app, making the documented GitHub Actions optional. Enable 'Automatically deploy changes from Git' on a repository and new commits to the tracked branch deploy into the workspace, instantly via webhooks for GitHub App repositories (with polling as a safety net) or by polling about every minute for token repositories. Windmill can also open pull requests for promotion and fork deploy branches, post a 'Windmill diff' check and managed comment on pull requests showing what merging would deploy, post a deploy status check on synced commits, and automatically deploy fork branch changes into fork workspaces from a single parent-level toggle.
New features
- Per-repository 'Automatically deploy changes from Git' toggle: new commits on the tracked branch deploy into the workspace, no CI/CD pipeline needed.
- GitHub App repositories (managed and GHES self-managed) sync instantly via an HMAC-verified webhook that Windmill registers itself; polling stays on as a safety net.
- Token-based repositories sync via polling, checking the tracked branch about every minute; commits made by Windmill ([WM] prefix) are skipped to prevent loops.
- In-app pull request creation: 'Open a pull request for each deploy branch' on promotion repositories and 'Open a pull request when an item is deployed in a fork' on the parent sync repository, replacing the gh pr create GitHub Actions.
- Pull requests targeting the tracked branch get a 'Windmill diff' check run and a managed comment showing what merging would deploy, updated on each push.
- Tracked-branch deploys post a 'Windmill' check run on the commit that flips from 'Deploying…' to 'Deployed N changes'.
- Parent-level 'Automatically sync forks with git branches' toggle deploys changes on each fork's wm-fork/** branch into the matching fork workspace, replacing the push-on-merge-to-forks action.

Self-managed GitHub App support for GitHub.com and GitHub Enterprise Server instances, enabling Git sync without relying on the Windmill-managed GitHub App.
New features
- Register your own GitHub App on GitHub.com or GitHub Enterprise Server for Git sync authentication.
- Self-managed JWT token generation and exchange directly with your GitHub instance.
- Host-based installation filtering prevents token leakage across GitHub instances.
Create independent copies of workspaces for parallel development workflows, similar to git branches. Merge changes back to parent workspaces directly from the UI or through git sync.
New features
- Fork workspaces to create independent development environments
- Automatically create git branches when used with git sync
- Merge forked workspaces back to parent workspaces from the UI
- Multiple developers can work on separate forks simultaneously
- Deploy individual items to parent workspace using deployment UI
Maintain workspace specific configurations for variables, resources, and triggers per Git branch with automatic file path transformation and clean workspace management.
New features
- Branch-specific variables, resources, and triggers with automatic file naming based on Git branch.
- Pattern-based configuration using glob syntax to specify which items should be branch-specific.
- Automatic path transformation between local branch-specific files and clean workspace paths.
- Support for commonSpecificItems (all branches) and per-branch specificItems configurations.
- Branch name sanitization for filesystem safety with collision warnings.
- Support for all trigger types (kafka, http, websocket, nats, postgres, mqtt, sqs, gcp) and resource files.
- Seamless integration with Git sync for environment-specific deployments.
Improved git sync initialization, workspace settings UI controls, and branch-specific configuration management with improved CLI commands.
New features
- Enhanced repository setup workflow with better error handling and user guidance.
- Trigger pull/push operations directly from the workspace settings UI for seamless git sync management.
- Trigger settings pull from UI to sync git-sync configuration from repository to workspace.
- Improved CLI commands for managing wmill.yaml and backend synchronization.
- Branch-specific overrides in wmill.yaml with promotion overrides for advanced deployment workflows.

Install the Windmill GitHub App instead of using a long lived personal access token (PAT) to authenticate with GitHub for Git sync
New features
- No need for long lived GitHub personal access token
- Improved controls over repo access from Windmill using the App installation scope