mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 12:33:16 -05:00
Add the github add-on: manifest with a credential slot, a read-only tool set (code search, files, trees, issues, pull requests and diffs) with size caps and untrusted-content framing, rate-limit mapping, a connector route that checks the token, and a fake GitHub API for tests. Assisted-by: Claude:claude-sonnet-5-5 [go]
39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
# Release platform matrix of the github add-on package.
|
|
#
|
|
# A platform ships only while "enabled" is true. Enable a platform in the same
|
|
# change that shows its native check passing on a runner of that platform;
|
|
# until then it stays listed and disabled. The release workflow fails closed
|
|
# when no platform is enabled, and it never builds a platform that is not
|
|
# enabled here.
|
|
#
|
|
# runner: the GitHub runner label that builds and checks the platform
|
|
# natively. Required for an enabled platform.
|
|
# native_check: "executable-start": the packaged executable is extracted on
|
|
# the native runner and started. Required for an enabled platform.
|
|
# runtime: files besides the executable that the platform needs at run
|
|
# time, relative to the package root. They are taken from the
|
|
# runtime directory of the build and must exist.
|
|
schema: 1
|
|
addon: github
|
|
executable: github
|
|
manifest: addons/github/manifest.json
|
|
# The directory whose content is laid at the package root (ui/github.js ...).
|
|
ui: addons/github/ui/dist
|
|
platforms:
|
|
- platform: linux/amd64
|
|
enabled: true
|
|
runner: ubuntu-24.04
|
|
native_check: executable-start
|
|
- platform: linux/arm64
|
|
enabled: true
|
|
runner: ubuntu-24.04-arm
|
|
native_check: executable-start
|
|
- platform: darwin/arm64
|
|
enabled: true
|
|
runner: macos-15
|
|
native_check: executable-start
|
|
- platform: darwin/amd64
|
|
enabled: true
|
|
runner: macos-15-intel
|
|
native_check: executable-start
|