feat: put the batch id in the generate-prs run name#42
Merged
Conversation
Set run-name to "Generate PRs (batch <id>)" for workflow_dispatch runs so the SDK bot dashboard can identify THIS batch's Actions run by name (run.display_title) instead of guessing by timestamp — which can link to an unrelated dispatch when several land while a batch is open. Non-dispatch runs keep the plain "Generate PRs" name. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR updates the GitHub Actions display name for generated PR batches. The main changes are:
Confidence Score: 5/5The workflow naming change is isolated to the GitHub Actions display title and leaves the job logic unchanged. The changed workflow adds the expected top-level run-name expression, preserves the fallback title when no batch id is available, and keeps the jobs section unchanged. No files need additional attention.
What T-Rex did
Reviews (1): Last reviewed commit: "feat: put the batch id in the generate-p..." | Re-trigger Greptile |
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
Sets a top-level
run-nameongenerate-prs.ymlso eachworkflow_dispatchrun's display title isGenerate PRs (batch <id>).This lets the SDK bot dashboard's active-batch card identify this batch's Actions run by matching
run.display_titleagainst the batch id, instead of the previous best-effort "newest/earliest dispatch run near the batch timestamp" heuristic — which can link to an unrelated dispatch when several land while a batch is open (or when the batch's run isn't on the first page of results). Non-dispatch runs keep the plainGenerate PRsname.Pairs with the dashboard-side change in sdk-automation-bot (matches on
display_title, falls back to the workflow page when no run matches).Test plan
run-nameexpression validated as well-formed YAML; uses standard Actions expression syntax (inputs.batch_id && format(...) || 'Generate PRs'). No job logic changed.🤖 Generated with Claude Code