Repository navigation
fix: attribute infer-agent commits to infer-bot[bot] via github-app-slug - #51
Merged
Merged
Conversation
Pass the GitHub App slug to infer-action so agent commits resolve to
infer-bot[bot] via `GET /users/{slug}[bot]` instead of the unsupported
`GET /user` (which 403s and previously leaked a JSON error body into the
commit identity and the squash `Co-authored-by:` trailer).
Requires inference-gateway/infer-action#60. Merge after that releases, and
bump the infer-action pin (currently @v0.11.4) to the release that adds the
`github-app-slug` input.
edenreich
marked this pull request as ready for review
June 6, 2026 15:12
edenreich
commented
Jun 6, 2026
Co-authored-by: Eden Reich <[email protected]>
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jun 6, 2026
## [0.7.3](v0.7.2...v0.7.3) (2026-06-06) ### 🐛 Bug Fixes * attribute infer-agent commits to infer-bot[bot] via github-app-slug ([#51](#51)) ([b55a520](b55a520))
Contributor
|
🎉 This PR is included in version 0.7.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pass the GitHub App slug to the
Run Infer Agentstep:Why
infer-actionpreviously resolved the bot identity withGET /user, which a GitHub App installation token cannot access (403 "Resource not accessible by integration"). The 403 JSON body leaked intogit config user.name/user.email, and squash-merges surfaced it as a malformedCo-authored-by:trailer — e.g.inference-gateway/python-sdk@c2ea888.inference-gateway/infer-action#60switches resolution toGET /users/{slug}[bot](which works with App tokens) when a slug is provided. This PR provides that slug, restoring correctinfer-bot[bot](id246577062) attribution. Without it the action safely falls back togithub-actions[bot].github-app-sluginput).inference-gateway/[email protected]→ the new release (anticipatedv0.11.5), then mark ready & merge.Merging before the release is harmless (an unknown input only emits a warning), but the slug has no effect until the pin is bumped to a release that includes the input — hence keeping these together.
🤖 Generated with Claude Code