Skip to content

feat: add kc-pr-agent action and repository scaffolding - #1

Merged
jessegoodier merged 6 commits into
mainfrom
feat/kc-pr-agent-action
Nov 5, 2026
Merged

jessegoodier merged 6 commits into
mainfrom
feat/kc-pr-agent-action

Conversation

@jessegoodier

@jessegoodier jessegoodier commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Adds the kc-pr-agent composite action and the scaffolding for this public actions repository.

  • kc-pr-agent action: runs the published PR-Agent image, pinned by tag and digest. Only an allowlist of the step env is forwarded into the container: the GitHub context, artifact and PR-Agent settings, model provider credentials, CA bundles and SECTION__KEY settings. The runner's OIDC request token is never forwarded. An empty input falls back to the matching variable in the step env, then to the built-in default.
  • Docs: usage-focused READMEs and a sanitized example workflow. The root README explains that the actions are built for Kubecost's repositories and published for transparency. The MIT license intentionally matches upstream PR-Agent.
  • Release workflow: tags each action separately. The version must be higher than the action's latest release, the version tag and floating major tag are pushed together in one atomic push, release notes start from the action's previous release, and only one release runs at a time.
  • Tooling: CI (pre-commit and action validation), weekly image-pin update PRs, Dependabot, and pre-commit hooks including ruff check and ruff format.

Checklist

  • just lint and just check pass
  • Third-party actions are pinned to a commit SHA with a # vX.Y.Z comment; images to tag@sha256:digest
  • No secrets, account IDs, role ARNs, internal hostnames or internal repository names (this repository is public)
  • The action's README documents any new input, output, permission or behavior change

🤖 Generated with Claude Code

jessegoodier and others added 6 commits November 4, 2026 13:04
Public home for Kubecost GitHub Actions. Adds the kc-pr-agent composite action
(image pinned by tag and digest), an example workflow, CI, weekly image-pin
updates, per-action release tagging, and guidance for coding agents.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Require a version higher than the action's latest release, push the release and floating major tags in
one atomic push, scope generated notes to the action's previous release, and serialize release runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… to env

Forward only the variables PR-Agent reads (GitHub context, artifact and PR-Agent settings, model provider
credentials, CA bundles and SECTION__KEY settings) so the runner's OIDC request token never reaches the
container. Empty inputs no longer override values the caller set in the step env. Trim the README to usage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
State that the actions are built for Kubecost's repositories and published for transparency, note that the
MIT license intentionally matches upstream PR-Agent, and drop notes about future changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jessegoodier jessegoodier changed the title kc pr agent action feat: add kc-pr-agent action and repository scaffolding Nov 5, 2026
@jessegoodier
jessegoodier merged commit 4c2e236 into main Nov 5, 2026
3 checks passed
@jessegoodier
jessegoodier deleted the feat/kc-pr-agent-action branch November 5, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant