{"version":"2.1.181","anchor":"github-actions-sandbox-now-supports-git-worktrees","canonical_anchor":"github-actions-sandbox-now-supports-git-worktrees","heading":"GitHub Actions Sandbox Now Supports Git Worktrees","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.181\/e\/github-actions-sandbox-now-supports-git-worktrees","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.181","markdown":"### GitHub Actions Sandbox Now Supports Git Worktrees\n\nThe Linux\/GitHub Actions sandbox permission list has been updated to include the files and directories required for git worktree operations:\n\n- `\/.git\/worktrees` \u2014 worktree reference directory\n- `\/.git\/commondir` \u2014 points a worktree back to the main `.git`\n- `\/.git\/config.worktree` \u2014 per-worktree config overrides\n\nThis means Actions workflows that use `git worktree add` no longer need to disable sandboxing or add manual overrides.\n\n**Evidence**\n\nSandbox filesystem setup (search for `\"\/.git\/worktrees\"`) \u2014 `E1r()` at line ~174833 and `v1r()` at line ~175075"}