You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(agents): Add issue closing support to PR triage skill
Update the generated Gerrit PR description to include `closes <Issue link>` footers when the PR is linked to GitHub issues, and ensure this footer is preserved during squashing.
Change-Id: Ia0dc66b1e2923d07ee42561063d290847c7f29d5
* Append `"Merge <PR link>"` to the very end of the commit message (separated by a blank line). Use this elegant shell command to do it in one-shot:
172
+
* Append `"Merge <PR link>"` to the very end of the commit message (separated by a blank line). If the PR metadata contains linked issues in `closingIssuesReferences`, you MUST also append `"closes https://github.com/google/adk-python/issues/<issue_number>"` for each linked issue on new lines. Use this shell command structure to do it in one-shot:
* *Note*: When you run git commit/amend, the Gerrit `commit-msg` hook will automatically execute and append the `Change-Id:` footprint if not already present.
178
180
4. **Step 3: Rebase on top of Main**:
@@ -185,7 +187,7 @@ If the user selects **Local Review**, run the following structured sequence:
185
187
* Follow its comprehensive guidelines to audit edge cases, style compliance, dependencies, and test validation. Work in partnership with the user to revise the local changes as needed.
186
188
6. **Step 5: Squash User Revisions & Push to Gerrit**:
187
189
* If the user requests to push to Gerrit, squash/amend all local workspace revisions into the single original commit:
188
-
* **CRITICAL**: You MUST preserve the exact same commit message, including the `Merge <PR link>` footer and the original `Change-Id:` footer. Do NOT change it.
190
+
* **CRITICAL**: You MUST preserve the exact same commit message, including the `Merge <PR link>` footer, any `closes <Issue link>` footers, and the original `Change-Id:` footer. Do NOT change it.
189
191
* Command to squash all changes into the current commit without opening an editor:
0 commit comments