.gitar/ from that repository’s default branch on top of whatever the repository under review has of its own.
Before you begin
- The configuration repository is available on the Pro and Enterprise plans. It is being rolled out per organization, so contact support if you do not see the picker.
- You need the organization admin role.
- The repository has to be connected to Gitar already. AWS CodeCommit repositories are not selectable.
What it holds
Skills today. Inherited rules and review instructions are coming soon, so commit those into each repository for now.Set the configuration repository
1
Create or pick a repository
Any connected repository works. We suggest one named
.gitar.2
Commit a skill to it
3
Name it in settings
Go to Settings -> Configuration. At the foot of the Repositories card, next to Configuration repository, select Choose and pick the repository.
4
Confirm what Gitar found
Saving reads the repository and lists the skills it found. The summary line reads like
acme/.gitar · 3 skills inherited by 6 repositories.Where Gitar looks for skills
Five directories, in this order:.gitar/skills/ with the same name as an inherited one and the local version is what runs.
When changes take effect
A push to the default branch can take up to 15 minutes to reach the next run. To test an edit before it lands, open a PR in the configuration repository itself. Gitar reviews that PR against the version on its branch rather than the version on the default branch.Troubleshooting
Every failure is reported on the card rather than failing a run.
An inherited skill never runs
Check the repository under review for a skill of the samename, which takes precedence. Then check the name against the slugs Gitar reserves for integrations, such as jira, linear, and slack, plus confluence, notion, and snyk, which are reserved even though Gitar no longer ships them. A skill sharing one of those names is dropped, whether or not your organization has that integration turned on.
After that, see Why is my skill not being used?.