feat: add workflow analysis and update suggestion tools#3
Merged
christian-andersson merged 4 commits intoTripletex:mainfrom Jan 23, 2026
Merged
feat: add workflow analysis and update suggestion tools#3christian-andersson merged 4 commits intoTripletex:mainfrom
christian-andersson merged 4 commits intoTripletex:mainfrom
Conversation
christian-andersson
approved these changes
Jan 23, 2026
- Add PR check workflow with lint, format, type check, and test steps - Add 34 unit tests for parse-action.ts utility functions - Add test task to deno.json Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add analyze_workflow tool for version status reporting - Add suggest_updates tool for safe update recommendations - Add get_latest_in_major tool for staying within major versions - Add parse-workflow utility for YAML parsing - Extend parse-action with version comparison utilities - Update README with new tool documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add @std/assert to deno.json imports - Use bare specifier in test imports - Add await to ensureToken method Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Flag is not supported in Deno 2.x Co-Authored-By: Claude Opus 4.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
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