Skip to content

feat: add composite action for GitHub Marketplace listing#20

Merged
wei18 merged 2 commits into
mainfrom
feat/marketplace-action
Jul 6, 2026
Merged

feat: add composite action for GitHub Marketplace listing#20
wei18 merged 2 commits into
mainfrom
feat/marketplace-action

Conversation

@wei18

@wei18 wei18 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a root action.yml (composite action) wrapping the existing discovery/reviewer/synthesis/report actions, so Upkeep can be published to the GitHub Marketplace (which only lists actions with action.yml at repo root) and consumed as - uses: wei18/upkeep@v2.
  • Add a "Or as a Marketplace action" section to README.md documenting the new usage path alongside the existing reusable-workflow one.
  • The existing .github/workflows/audit.yml reusable workflow is untouched and remains the primary integration path — see docs/en/why-reusable-workflow.md.

Known limitation (by design, documented in the action and README): a composite action runs as a single job with no strategy.matrix, so the 7 reviewers execute sequentially instead of in parallel. Each reviewer step is marked continue-on-error: true to preserve fault isolation (one reviewer failing doesn't block the rest), but wall-clock time will be longer than the reusable-workflow path for repos with several reviewers enabled.

Test plan

  • action.yml parses as valid YAML (python3 -c "import yaml; yaml.safe_load(open('action.yml'))" — OK)
  • actionlint not available in this environment; not run
  • Every step maps back to a job/step in .github/workflows/audit.yml (see review comment for the mapping table)
  • End-to-end run against a real consuming repo (only verifiable after merge + a tag, by the repo owner)

🤖 Generated with Claude Code

wei18 and others added 2 commits July 6, 2026 17:30
Wrap the existing discovery/reviewer/synthesis/report actions in a
root action.yml so Upkeep can be listed on the Marketplace (which only
indexes actions with an action.yml at repo root) and consumed with the
plain `- uses: wei18/upkeep@v2` step syntax, alongside the existing
reusable-workflow integration path. Reviewers run sequentially here
since a composite action has no strategy.matrix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The doc explained composite actions *could* work (sequentially) but
didn't mention that the repo now actually ships one. Add a pointer to
action.yml so this doc doesn't itself drift from the code, synced
across all five locale copies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@wei18 wei18 merged commit 51bf720 into main Jul 6, 2026
2 checks passed
@wei18 wei18 deleted the feat/marketplace-action branch July 6, 2026 13:17
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