@@ -17,7 +17,7 @@ permissions:
1717# before `if`, so a guard-failing run (non-trigger comment, fork-PR push,
1818# non-owner push) would otherwise cancel a live review and then skip.
1919concurrency :
20- group : umm-review-${{ github.event.pull_request.number || github.event.issue.number }}${{ ((github.event_name == 'issue_comment' && !(github.event.comment.user.login == github.repository_owner && startsWith(github.event.comment.body, '@umm review'))) || (github.event_name == 'pull_request' && !(github.event.pull_request.user.login == github.repository_owner && github.event.pull_request.head.repo.full_name == github.repository))) && format('-noop-{0}', github.run_id) || '' }}
20+ group : umm-review-${{ github.event.pull_request.number || github.event.issue.number }}${{ ((github.event_name == 'issue_comment' && !(github.event.issue.pull_request && github.event. comment.user.login == github.repository_owner && startsWith(github.event.comment.body, '@umm review'))) || (github.event_name == 'pull_request' && !(github.event.pull_request.user.login == github.repository_owner && github.event.pull_request.head.repo.full_name == github.repository))) && format('-noop-{0}', github.run_id) || '' }}
2121 cancel-in-progress : true
2222
2323jobs :
8989 # default unless the expression below supplies an explicit workflow default.
9090 # Inputs whose default is empty (fallback_model, max_findings) pass empty
9191 # when the var is unset — identical to omitting them.
92- - uses : aliasunder/umm-actually@1175cd5fbd4141c33686f0925993a7a8a9b569fa # v0.4.6
92+ - uses : aliasunder/umm-actually@9c9353ca381a38b951f14970beaf43c8bef145b3 # v0.4.7
9393 with :
9494 github_token : ${{ steps.app-token.outputs.token }}
9595 openrouter_api_key : ${{ secrets.OPENROUTER_KEY }}
@@ -113,6 +113,9 @@ jobs:
113113 # Repo-relative path to the conventions/instructions file fed to
114114 # the model
115115 conventions_file : ${{ vars.UMM_CONVENTIONS_FILE || 'AGENTS.md' }}
116+ # Approximate token budget for the conventions file section.
117+ # Files over this are truncated with a notice. Empty = 8000
118+ conventions_budget_tokens : ${{ vars.UMM_CONVENTIONS_BUDGET_TOKENS }}
116119 # Comma-separated repo-relative paths always included in review
117120 # context. Nested paths fine; spaces after commas fine; never
118121 # quote individual paths (quotes are not stripped), e.g.
0 commit comments