---
id: change/al-go/2313
type: change
title: "#2313 Fix dependency resolution when branch name contains ']' character"
summary: Fixed dependency resolution in GitHub Helper to correctly handle branch names containing the ] character by using literal path interpretation instead of wildcard matching.
tier: official
language: en
tags:
  - fix
  - main
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:58.784Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: f8f8d47521eca0b64cced4e44e9e5bed3650b2d9
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2313
    title: "microsoft/AL-Go#2313: Fix dependency resolution when branch name contains ']' character"
    date: "2026-07-21"
    commit: f8f8d47521eca0b64cced4e44e9e5bed3650b2d9
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2313
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2313
kind: pr
base_branch: main
major: null
merged_at: "2026-07-21T11:14:42Z"
author: aholstrup1
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 35
  deletions: 1
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/Github-Helper.psm1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - platform
quote: null
joined_against:
  major: null
  commit: null
---

# #2313 Fix dependency resolution when branch name contains ']' character

> Fixed dependency resolution in GitHub Helper to correctly handle branch names containing the ] character by using literal path interpretation instead of wildcard matching.

[Pull request](https://github.com/microsoft/AL-Go/pull/2313) · merged into `main` on 2026-07-21 by aholstrup1 · 3 files (+35 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Branch names can legally contain ] characters, which are treated as wildcards in PowerShell -Path parameter
- GetDependencies was returning the folder itself instead of enumerating .app files when ] appeared in the folder name
- Changed from -Path to -LiteralPath to treat the folder path literally without wildcard interpretation
- No behavior change for existing branch names without brackets
- Includes regression test to prevent future breakage
- Behaviour changes for users or extensions.

## AL objects touched

- `Actions/Github-Helper.psm1`: modified, not in the BC? snapshot

## Context

- Systems: platform

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
