Skip to content

Conversation

@mediazone
Copy link
Contributor

Summary

  • Add analyze_workflow tool to analyze GitHub Actions workflows and show version status for all actions
  • Add suggest_updates tool to suggest safe updates (minor/patch) that avoid breaking changes
  • Add get_latest_in_major tool to get the latest version within the same major version
  • Add PR check workflow with formatting, linting, type checking, and tests
  • Add comprehensive tests for parse-action utilities

New Tools

analyze_workflow

Reports current vs latest versions, update levels (major/minor/patch), and risk assessment for all actions in a workflow.

suggest_updates

Returns only safe updates based on risk tolerance:

  • patch - only patches
  • minor - patch + minor (default)
  • all - include major updates

get_latest_in_major

Get the latest version within the same major version for safe updates.

Files Changed

  • main.ts - Register new tools
  • src/tools/analyze-workflow.ts - Workflow analysis implementation
  • src/tools/suggest-updates.ts - Update suggestion implementation
  • src/utils/parse-action.ts - Action parsing utilities
  • src/utils/parse-workflow.ts - Workflow YAML parsing
  • src/utils/parse-action.test.ts - Tests for parsing utilities
  • .github/workflows/pr-check.yml - CI workflow
  • README.md - Documentation updates

Test plan

  • All new tools tested manually via MCP
  • Unit tests pass (deno test)
  • Linting passes (deno lint)
  • Formatting passes (deno fmt --check)
  • Type checking passes (deno check main.ts)

🤖 Generated with Claude Code

mediazone and others added 2 commits January 23, 2026 19:57
- 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>
mediazone and others added 2 commits January 23, 2026 20:22
- 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>
@christian-andersson christian-andersson merged commit b32381d into Tripletex:main Jan 23, 2026
1 check passed
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.

2 participants