feat: add composite action for GitHub Marketplace listing#20
Merged
Conversation
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>
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.
Summary
action.yml(composite action) wrapping the existingdiscovery/reviewer/synthesis/reportactions, so Upkeep can be published to the GitHub Marketplace (which only lists actions withaction.ymlat repo root) and consumed as- uses: wei18/upkeep@v2..github/workflows/audit.ymlreusable workflow is untouched and remains the primary integration path — seedocs/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 markedcontinue-on-error: trueto 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.ymlparses as valid YAML (python3 -c "import yaml; yaml.safe_load(open('action.yml'))"— OK).github/workflows/audit.yml(see review comment for the mapping table)🤖 Generated with Claude Code