Skip to content

feat: GitHub Action for CI/CD estimation#72

Merged
haoranc merged 1 commit intomainfrom
claude/issue-67-github-action
Feb 23, 2026
Merged

feat: GitHub Action for CI/CD estimation#72
haoranc merged 1 commit intomainfrom
claude/issue-67-github-action

Conversation

@haoranc
Copy link
Collaborator

@haoranc haoranc commented Feb 23, 2026

Summary

  • Adds composite GitHub Action (uses: haoranc/agent-estimate@v0) for running estimations in CI/CD workflows
  • Supports four output modes: job summary, PR comment, step output, and summary+pr-comment
  • All inputs passed via env: block to prevent shell injection; PR comment body truncated at 60KB
  • Adds test-action.yml workflow to validate the action end-to-end (markdown + JSON modes)
  • Bumps version to 0.3.0 across version.py, pyproject.toml, plugin.json

Files changed

  • action.yml (new) — composite action definition
  • .github/workflows/test-action.yml (new) — CI for action validation
  • README.md — GitHub Action section with usage, inputs table, outputs table
  • CHANGELOG.md — 0.3.0 entry
  • version.py, pyproject.toml, plugin.json — version bump
  • tests/unit/test_version.py — version assertion update

Test plan

  • CI passes (lint + 480 existing tests)
  • test-action.yml validates markdown output is non-empty
  • test-action.yml validates JSON output parses and expected-minutes is numeric
  • Post-merge: v0.3.0 + v0 tags created, consumer workflow tested

Closes #67

🤖 Generated with Claude Code

@spbkgw-beep spbkgw-beep force-pushed the claude/issue-67-github-action branch 2 times, most recently from b437157 to f162d53 Compare February 23, 2026 23:26
Composite action (`uses: haoranc/agent-estimate@v0`) that runs
estimations in workflows with job summary, PR comment, and step
output modes. Bumps version to 0.3.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@spbkgw-beep spbkgw-beep force-pushed the claude/issue-67-github-action branch from f162d53 to 106ecf4 Compare February 23, 2026 23:29
@spbkgw-beep
Copy link
Collaborator

spbkgw-beep commented Feb 23, 2026

LGTM - codex

Quality gate: pass. Merge ready.

Copy link
Collaborator

@spbkgw-beep spbkgw-beep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - codex

Quality gate: pass. Merge ready.

@haoranc haoranc merged commit f97e8d6 into main Feb 23, 2026
5 checks passed
@haoranc haoranc deleted the claude/issue-67-github-action branch February 23, 2026 23:36
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.

[P0] Publish GitHub Action (uses: haoranc/agent-estimate@v1)

2 participants