Skip to content

Commit eba2b95

Browse files
committed
Add explanation of optional Default Branch configuration in YouTrack Junie App documentation.
1 parent 4380135 commit eba2b95

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/YOUTRACK_INTEGRATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ The YouTrack Junie App handles the workflow dispatch automatically — no custom
118118
2. In your YouTrack project, go to **Apps → Junie → Settings** and configure:
119119
- **GitHub Token** (required): the personal access token with `workflow` permission.
120120
- **Trigger Name** (optional): the phrase that triggers Junie when a comment starts with it. Defaults to `@junie`. Change it to e.g. `/junie` if you prefer a slash command style.
121+
- **Default Branch** (optional): the branch to trigger the workflow on. If not set, the app fetches the repository's default branch via the GitHub API. Falls back to `main` if it cannot be determined.
121122
3. In your YouTrack project, go to **Settings → Version Control** and add a GitHub VCS integration pointing to the target repository.
122123

123124
After setup, a **Run Junie** button will appear on every issue in the project. Clicking it dispatches the `junie-youtrack.yml` workflow with the issue data automatically.

0 commit comments

Comments
 (0)