commit_workspace_to_git
Back up and version-control a Fabric workspace by exporting reports and semantic models to local PBIP files and committing them to Git.
Instructions
Export and commit a Fabric workspace into a local Git repository.
Use this tool when the user asks to:
Back up or version-control a Fabric workspace into Git.
Snapshot reports and semantic models into local PBIP files with Git commits.
Args: workspace_id: Source Fabric workspace ID (UUID). output_repo_path: Local path to destination Git repository. branch: Git branch to commit into. commit_message: Commit message describing the snapshot. exclude_items: Optional list of item IDs to exclude. dry_run: If True, inspect items without creating git commits.
Returns: Dict with committed items, commit SHA, and repository status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| dry_run | No | ||
| workspace_id | Yes | ||
| exclude_items | No | ||
| commit_message | No | ||
| output_repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||