Skip to content

Commit c46f962

Browse files
chore: change priority to severity (#119)
## Summary Rename 'priority' field to 'severity' in the PR review workflow instructions Documentation: - Update .github/workflows/gemini-pr-review.yml to use 'severity' instead of 'priority' in comment syntax - Update example workflow in examples/workflows/pr-review/gemini-pr-review.yml to replace 'priority' with 'severity'
1 parent 8536536 commit c46f962

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/gemini-pr-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,15 +387,15 @@ jobs:
387387
1. Creating a pending review: Use the mcp__github__create_pending_pull_request_review to create a Pending Pull Request Review.
388388
389389
2. Adding review comments:
390-
2.1 Use the mcp__github__add_comment_to_pending_review to add comments to the Pending Pull Request Review. Inline comments are preffered whenever possible, so repeat this step, calling mcp__github__add_comment_to_pending_review, as needed. All comments about specific lines of code should use inline comments. It is preferred to use code suggestions when possible, which include a code block that is labeled "suggestion", which contains what the new code should be. All comments should also have a priority. They syntax is:
390+
2.1 Use the mcp__github__add_comment_to_pending_review to add comments to the Pending Pull Request Review. Inline comments are preffered whenever possible, so repeat this step, calling mcp__github__add_comment_to_pending_review, as needed. All comments about specific lines of code should use inline comments. It is preferred to use code suggestions when possible, which include a code block that is labeled "suggestion", which contains what the new code should be. All comments should also have a severity. They syntax is:
391391
Normal Comment Syntax:
392392
<COMMENT>
393-
{{PRIORITY}} {{COMMENT_TEXT}}
393+
{{SEVERITY}} {{COMMENT_TEXT}}
394394
</COMMENT>
395395
396396
Inline Comment Syntax: (Preferred):
397397
<COMMENT>
398-
{{PRIORITY}} {{COMMENT_TEXT}}
398+
{{SEVERITY}} {{COMMENT_TEXT}}
399399
```suggestion
400400
{{CODE_SUGGESTION}}
401401
```

examples/workflows/pr-review/gemini-pr-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,15 @@ jobs:
381381
1. Creating a pending review: Use the mcp__github__create_pending_pull_request_review to create a Pending Pull Request Review.
382382
383383
2. Adding review comments:
384-
2.1 Use the mcp__github__add_comment_to_pending_review to add comments to the Pending Pull Request Review. Inline comments are preffered whenever possible, so repeat this step, calling mcp__github__add_comment_to_pending_review, as needed. All comments about specific lines of code should use inline comments. It is preferred to use code suggestions when possible, which include a code block that is labeled "suggestion", which contains what the new code should be. All comments should also have a priority. They syntax is:
384+
2.1 Use the mcp__github__add_comment_to_pending_review to add comments to the Pending Pull Request Review. Inline comments are preffered whenever possible, so repeat this step, calling mcp__github__add_comment_to_pending_review, as needed. All comments about specific lines of code should use inline comments. It is preferred to use code suggestions when possible, which include a code block that is labeled "suggestion", which contains what the new code should be. All comments should also have a severity. They syntax is:
385385
Normal Comment Syntax:
386386
<COMMENT>
387-
{{PRIORITY}} {{COMMENT_TEXT}}
387+
{{SEVERITY}} {{COMMENT_TEXT}}
388388
</COMMENT>
389389
390390
Inline Comment Syntax: (Preferred):
391391
<COMMENT>
392-
{{PRIORITY}} {{COMMENT_TEXT}}
392+
{{SEVERITY}} {{COMMENT_TEXT}}
393393
```suggestion
394394
{{CODE_SUGGESTION}}
395395
```

0 commit comments

Comments
 (0)