Skip to content

ci(infer): centralize infer.yml + sync .infer config - #638

Merged
edenreich merged 1 commit into
mainfrom
bot/centralize-infer-workflow
Jun 19, 2026
Merged

edenreich merged 1 commit into
mainfrom
bot/centralize-infer-workflow

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Centralized-config changes in one PR:

  1. Adds/updates .github/workflows/infer.yml as a thin caller of the org reusable workflow
    inference-gateway/.github/.github/workflows/[email protected],
    wiring the @infer bot (inference-gateway/infer-action) into this repo.
  2. Bumps this repo's Flox infer pin (.flox/env/manifest.toml) to
    v0.121.1 (the latest inference-gateway/cli release) and
    refreshes .flox/env/manifest.lock.
  3. Regenerates the committed .infer/ config with infer init --overwrite --skip-migrations
    using that CLI.

Setup lives centrally, so future moves (action bump, model, tool scope, CLI version) are a
re-run of migrate-infer.yml instead of a hand-edit per repo.

Ran in CI (mirrors bump-adl.yml):

  • sed the inference-gateway/cli pin in .flox/env/manifest.toml to the latest release
  • flox upgrade infer + flox activate to refresh .flox/env/manifest.lock
  • flox activate -- infer init --overwrite --skip-migrations to regenerate .infer/

Heads-up: infer init --overwrite resets .infer/ to CLI defaults. .infer/agents.yaml
and .infer/mcp.yaml (this repo's A2A agents registry + MCP servers) are preserved
byte-for-byte; every other config file (config.yaml, prompts.yaml, keybindings.yaml,
channels.yaml, computer_use.yaml, heartbeat.yaml, shortcuts/*) is regenerated.
.infer/bin, logs, history and the conversations DB stay out via the nested
.infer/.gitignore. Review the diff before merging.

Notes

  • Triggers on @infer mentions in issues / issue comments. Default model
    deepseek/deepseek-v4-flash. The infer-action pin lives in the reusable infer.yml.
  • Also adds a manual workflow_dispatch form: from this repo's Actions tab pick Infer,
    type a free-text prompt, and the bot works it in that run and opens a PR (no issue
    needed) - mirroring the @claude workflow.
  • Tools = infer-action's default bash whitelist + the language preset (+ markdownlint where
    set), configured in repos.yaml (the entry's orchestrators.infer block).
  • Requires the maintainer GitHub App (INFERENCE_GATEWAY_MAINTAINER_APP_ID /
    INFERENCE_GATEWAY_MAINTAINER_APP_PRIVATE_KEY) installed on this repo plus the provider
    API-key secrets; both reach the reusable workflow via secrets: inherit.

Filed by migrate-infer.yml.

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner June 19, 2026 18:34
@inference-gateway-maintainer inference-gateway-maintainer Bot added bot Opened by an org automation ci CI and workflow changes labels Jun 19, 2026
@edenreich
edenreich merged commit 86d0c18 into main Jun 19, 2026
1 check passed
@edenreich
edenreich deleted the bot/centralize-infer-workflow branch June 19, 2026 18:49
edenreich pushed a commit that referenced this pull request Jun 20, 2026
Centralized-config changes in one PR:

1. Adds/updates `.github/workflows/infer.yml` as a thin caller of the
org reusable workflow
   `inference-gateway/.github/.github/workflows/[email protected]`,
wiring the `@infer` bot (inference-gateway/infer-action) into this repo.
2. Bumps this repo's Flox `infer` pin (`.flox/env/manifest.toml`) to
   `v0.121.1` (the latest `inference-gateway/cli` release) and
   refreshes `.flox/env/manifest.lock`.
3. Regenerates the committed `.infer/` config with `infer init
--overwrite --skip-migrations`
   using that CLI.

Setup lives centrally, so future moves (action bump, model, tool scope,
CLI version) are a
**re-run of `migrate-infer.yml`** instead of a hand-edit per repo.

Ran in CI (mirrors `bump-adl.yml`):
- sed the `inference-gateway/cli` pin in `.flox/env/manifest.toml` to
the latest release
- `flox upgrade infer` + `flox activate` to refresh
`.flox/env/manifest.lock`
- `flox activate -- infer init --overwrite --skip-migrations` to
regenerate `.infer/`

> **Heads-up:** `infer init --overwrite` resets `.infer/` to CLI
defaults. `.infer/agents.yaml`
> and `.infer/mcp.yaml` (this repo's A2A agents registry + MCP servers)
are **preserved**
> byte-for-byte; every other config file (`config.yaml`, `prompts.yaml`,
`keybindings.yaml`,
> `channels.yaml`, `computer_use.yaml`, `heartbeat.yaml`, `shortcuts/*`)
is regenerated.
> `.infer/bin`, `logs`, history and the conversations DB stay out via
the nested
> `.infer/.gitignore`. Review the diff before merging.

- Triggers on `@infer` mentions in issues / issue comments. Default
model
`deepseek/deepseek-v4-flash`. The `infer-action` pin lives in the
reusable `infer.yml`.
- Also adds a manual `workflow_dispatch` form: from this repo's Actions
tab pick **Infer**,
type a free-text `prompt`, and the bot works it in that run and opens a
PR (no issue
  needed) - mirroring the `@claude` workflow.
- Tools = infer-action's default bash whitelist + the language preset (+
markdownlint where
set), configured in `repos.yaml` (the entry's `orchestrators.infer`
block).
- Requires the maintainer GitHub App
(`INFERENCE_GATEWAY_MAINTAINER_APP_ID` /
`INFERENCE_GATEWAY_MAINTAINER_APP_PRIVATE_KEY`) installed on this repo
plus the provider
API-key secrets; both reach the reusable workflow via `secrets:
inherit`.

Filed by
[migrate-infer.yml](https://github.com/inference-gateway/.github/blob/main/.github/workflows/migrate-infer.yml).

Co-authored-by: inference-gateway-maintainer[bot] <246577062+inference-gateway-maintainer[bot]@users.noreply.github.com>
inference-gateway-releaser Bot pushed a commit that referenced this pull request Jun 20, 2026
## [0.122.0](v0.121.1...v0.122.0) (2026-06-20)

### 🚀 Features

* **shortcuts:** add /release-notes shortcut to display changelog entries ([#634](#634)) ([4d0d0bf](4d0d0bf)), closes [#518](#518)
* **explorer:** add snippet selection and annotation for targeted refactoring ([#637](#637)) ([7e619f9](7e619f9)), closes [#599](#599)
* add wrap-up reminders for agent mode ([#628](#628)) ([#635](#635)) ([f5d95a5](f5d95a5))
* **skills:** scan .agents/skills as a third skill location ([#640](#640)) ([6e422b9](6e422b9)), closes [#639](#639) [#639](#639)

### ♻️ Code Refactoring

* **pricing:** add MiniMax models and update subscription terminology ([8df84e7](8df84e7))

### 🔧 Build System

* **deps:** bump alpine from 3.24.0 to 3.24.1 in the docker group ([#630](#630)) ([4d2160e](4d2160e))
* **deps:** bump inference-gateway/.github/.github/workflows/infer.yml from 0.8.0 to 0.10.3 in the github-actions group across 1 directory ([#633](#633)) ([913304d](913304d))
* **deps:** bump the gomod group with 4 updates ([#629](#629)) ([b73f4d3](b73f4d3))

### 👷 CI/CD

* **infer:** centralize infer.yml + sync .infer config ([#638](#638)) ([86d0c18](86d0c18))
* **deps:** upgrade actions/checkout from v6.0.3 to v7.0.0 across workflows ([7befc6c](7befc6c))

### 🧹 Maintenance

* **deps:** bump claude-code 2.1.161 -> 2.1.170, claude-code-action v1.0.135 -> v1.0.142 ([#626](#626)) ([9edfb85](9edfb85))
* **deps:** bump claude-code 2.1.170 -> 2.1.177, claude-code-action v1.0.142 -> v1.0.150 ([#632](#632)) ([c81923f](c81923f))
* **deps:** bump claude-code-action v1.0.150 -> v1.0.152 ([#636](#636)) ([1d58889](1d58889))
* **deps:** bump infer CLI v0.121.0 -> v0.121.1, infer-action v0.12.1 -> v0.13.1 ([#627](#627)) ([c231a03](c231a03))
* bump schema version to 1.13.0 and update docker version to 29.5.2 ([287b1bb](287b1bb))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.122.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Opened by an org automation ci CI and workflow changes released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant