feat: add workflow analysis and update suggestion tools #3
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
analyze_workflowtool to analyze GitHub Actions workflows and show version status for all actionssuggest_updatestool to suggest safe updates (minor/patch) that avoid breaking changesget_latest_in_majortool to get the latest version within the same major versionNew Tools
analyze_workflowReports current vs latest versions, update levels (major/minor/patch), and risk assessment for all actions in a workflow.
suggest_updatesReturns only safe updates based on risk tolerance:
patch- only patchesminor- patch + minor (default)all- include major updatesget_latest_in_majorGet the latest version within the same major version for safe updates.
Files Changed
main.ts- Register new toolssrc/tools/analyze-workflow.ts- Workflow analysis implementationsrc/tools/suggest-updates.ts- Update suggestion implementationsrc/utils/parse-action.ts- Action parsing utilitiessrc/utils/parse-workflow.ts- Workflow YAML parsingsrc/utils/parse-action.test.ts- Tests for parsing utilities.github/workflows/pr-check.yml- CI workflowREADME.md- Documentation updatesTest plan
deno test)deno lint)deno fmt --check)deno check main.ts)🤖 Generated with Claude Code