{"$id":"https://teire.vercel.app/schema.json","title":"Teire configuration (.github/teire.yml)","$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ecosystems":{"type":"object","properties":{"npm":{"type":"boolean"},"pypi":{"type":"boolean"},"maven":{"type":"boolean"},"go":{"type":"boolean"},"cargo":{"type":"boolean"},"rubygems":{"type":"boolean"},"apis":{"type":"boolean"}},"additionalProperties":false,"description":"Turn an ecosystem (or API-host checks, `apis`) off for this repo; all are on by default."},"paths":{"type":"array","items":{"type":"string"},"description":"Only scan these paths (globs)."},"ignorePaths":{"type":"array","items":{"type":"string"},"description":"Never scan these paths (globs)."},"ignore":{"type":"array","items":{"type":"string"},"description":"Change ids, packages (`openai`, `npm:openai`) or providers (`provider:groq`) to ignore."},"upgrades":{"type":"object","properties":{"majors":{"type":"boolean","description":"Open PRs for new majors (default true)."},"plainBumps":{"type":"boolean","description":"Open PRs for upgrades with no located break (default true)."},"cooldownDays":{"type":"integer","minimum":0,"maximum":90,"description":"Skip versions younger than this many days."},"allow":{"type":"array","items":{"type":"string"},"description":"Only upgrade these packages."},"deny":{"type":"array","items":{"type":"string"},"description":"Never upgrade these packages."},"prerelease":{"type":"array","items":{"type":"string"},"description":"Packages whose pre-releases Teire proposes (`react`, `npm:react`, or `*` for all)."},"distTags":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"npm packages that follow a dist-tag instead of `latest` (`{ next: canary }`)."},"versioning":{"type":"string","enum":["auto","increase","widen"],"description":"auto (the default): a published library's ranges widen to admit the new version, an app's move to it. increase: always move. widen: always widen."}},"additionalProperties":false},"schedule":{"type":"string","enum":["push","daily","weekly","off"],"description":"When to rescan: daily (the default) or weekly, plus every push that touches dependencies or code; push = pushes only; off = no automatic scans."},"verify":{"type":"array","items":{"type":"object","properties":{"workspace":{"type":"string","description":"Project directory, `.` for the root."},"install":{"type":"string"},"typecheck":{"type":"string"},"test":{"type":"string"}},"required":["workspace"],"additionalProperties":false},"description":"Commands that replace the detected ones, per workspace."},"pullRequests":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":50,"description":"Open Teire PRs at most (default 5)."},"perHour":{"type":"integer","minimum":0,"maximum":20,"description":"New Teire PRs per hour at most (default 2)."},"labels":{"type":"array","items":{"type":"string"},"description":"Extra labels on every Teire PR."},"commitMessage":{"type":"object","properties":{"prefix":{"type":"string"}},"additionalProperties":false},"targetBranch":{"type":"string","description":"Base branch for PRs (default: the repo's default branch)."}},"additionalProperties":false},"dashboardIssue":{"type":"boolean","description":"Keep the Teire Dashboard issue (default true)."},"fixes":{"type":"string","enum":["automatic","ask","off"],"description":"automatic (the default): a fix starts when a change reaches your code. ask: nothing new is written until someone asks (Fix now, @teire fix). off: findings are listed, nothing is fixed."},"securityFixes":{"type":"string","enum":["automatic","ask"],"description":"automatic (the default): a security fix starts on its own, even when fixes are ask. ask: security fixes wait for a person too. fixes: off turns these off as well."},"sources":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}$"},"package":{"type":"string","minLength":1},"changelogUrl":{"type":"string"},"specUrl":{"type":"string"}},"additionalProperties":false},"description":"Changelogs or API specs Teire should read for a host or package."}},"additionalProperties":false}