Skip to content

Commit 08467bf

Browse files
Annie LiangCopilot
andcommitted
Remove comment count limits
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e617d77 commit 08467bf

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

.github/aw/imports/xinlian12/sdk-auto-pr-review/b41a6c9390b79427a4fc286b3168c4efc4e33dc4/.github_workflows_shared_mcp-tools.md renamed to .github/aw/imports/xinlian12/sdk-auto-pr-review/59618a9d6d80e8f3a98aecbfb05ee700749e3449/.github_workflows_shared_mcp-tools.md

File renamed without changes.

.github/aw/imports/xinlian12/sdk-auto-pr-review/b41a6c9390b79427a4fc286b3168c4efc4e33dc4/.github_workflows_shared_pr-review-pipeline.md renamed to .github/aw/imports/xinlian12/sdk-auto-pr-review/59618a9d6d80e8f3a98aecbfb05ee700749e3449/.github_workflows_shared_pr-review-pipeline.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
# - xinlian12/sdk-auto-pr-review/.github/workflows/shared/mcp-tools.md@main
2828
# - xinlian12/sdk-auto-pr-review/.github/workflows/shared/pr-review-pipeline.md@main
2929
# Includes:
30-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-2184971628.md
31-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-2592843827.md
32-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-28863470.md
33-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-3360118506.md
34-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-53159858.md
35-
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-800892033.md
30+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-111941466.md
31+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-1672230524.md
32+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-2218932133.md
33+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-283920823.md
34+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-2903940133.md
35+
# - C:/Users/xinlian/AppData/Local/Temp/gh-aw-include-3967424544.md
3636
#
37-
# gh-aw-metadata: {"schema_version":"v2","frontmatter_hash":"d8dde5924073d706220ce1d9f8bd891e5d72036e9a59f81a2e2b2304aea7b503","compiler_version":"v0.62.1","strict":true}
37+
# gh-aw-metadata: {"schema_version":"v2","frontmatter_hash":"43eb12ada6c16ad38b2ac7ff5ef5e77ffff874af89e13e8f6b2aab6d7db0daa6","compiler_version":"v0.62.1","strict":true}
3838

3939
name: "sdkReviewAgent"
4040
"on":
@@ -193,10 +193,10 @@ jobs:
193193
</system>
194194
GH_AW_PROMPT_EOF
195195
cat << 'GH_AW_PROMPT_EOF'
196-
{{#runtime-import .github/aw/imports/xinlian12/sdk-auto-pr-review/b41a6c9390b79427a4fc286b3168c4efc4e33dc4/.github_workflows_shared_pr-review-pipeline.md}}
196+
{{#runtime-import .github/aw/imports/xinlian12/sdk-auto-pr-review/59618a9d6d80e8f3a98aecbfb05ee700749e3449/.github_workflows_shared_pr-review-pipeline.md}}
197197
GH_AW_PROMPT_EOF
198198
cat << 'GH_AW_PROMPT_EOF'
199-
{{#runtime-import .github/aw/imports/xinlian12/sdk-auto-pr-review/b41a6c9390b79427a4fc286b3168c4efc4e33dc4/.github_workflows_shared_mcp-tools.md}}
199+
{{#runtime-import .github/aw/imports/xinlian12/sdk-auto-pr-review/59618a9d6d80e8f3a98aecbfb05ee700749e3449/.github_workflows_shared_mcp-tools.md}}
200200
GH_AW_PROMPT_EOF
201201
cat << 'GH_AW_PROMPT_EOF'
202202
{{#runtime-import .github/workflows/pr-review.md}}
@@ -358,15 +358,15 @@ jobs:
358358
mkdir -p /tmp/gh-aw/safeoutputs
359359
mkdir -p /tmp/gh-aw/mcp-logs/safeoutputs
360360
cat > ${RUNNER_TEMP}/gh-aw/safeoutputs/config.json << 'GH_AW_SAFE_OUTPUTS_CONFIG_EOF'
361-
{"add_comment":{"max":1},"create_pull_request_review_comment":{"max":15},"missing_data":{},"missing_tool":{},"noop":{"max":1}}
361+
{"add_comment":{"max":1},"create_pull_request_review_comment":{"max":10},"missing_data":{},"missing_tool":{},"noop":{"max":1}}
362362
GH_AW_SAFE_OUTPUTS_CONFIG_EOF
363363
- name: Write Safe Outputs Tools
364364
run: |
365365
cat > ${RUNNER_TEMP}/gh-aw/safeoutputs/tools_meta.json << 'GH_AW_SAFE_OUTPUTS_TOOLS_META_EOF'
366366
{
367367
"description_suffixes": {
368368
"add_comment": " CONSTRAINTS: Maximum 1 comment(s) can be added.",
369-
"create_pull_request_review_comment": " CONSTRAINTS: Maximum 15 review comment(s) can be created. Comments will be on the RIGHT side of the diff."
369+
"create_pull_request_review_comment": " CONSTRAINTS: Maximum 10 review comment(s) can be created. Comments will be on the RIGHT side of the diff."
370370
},
371371
"repo_params": {},
372372
"dynamic_tools": []
@@ -1470,7 +1470,7 @@ jobs:
14701470
GH_AW_ALLOWED_DOMAINS: "api.business.githubcopilot.com,api.enterprise.githubcopilot.com,api.github.com,api.githubcopilot.com,api.individual.githubcopilot.com,api.snapcraft.io,archive.ubuntu.com,azure.archive.ubuntu.com,crl.geotrust.com,crl.globalsign.com,crl.identrust.com,crl.sectigo.com,crl.thawte.com,crl.usertrust.com,crl.verisign.com,crl3.digicert.com,crl4.digicert.com,crls.ssl.com,github.com,host.docker.internal,json-schema.org,json.schemastore.org,keyserver.ubuntu.com,ocsp.digicert.com,ocsp.geotrust.com,ocsp.globalsign.com,ocsp.identrust.com,ocsp.sectigo.com,ocsp.ssl.com,ocsp.thawte.com,ocsp.usertrust.com,ocsp.verisign.com,packagecloud.io,packages.cloud.google.com,packages.microsoft.com,ppa.launchpad.net,raw.githubusercontent.com,registry.npmjs.org,s.symcb.com,s.symcd.com,security.ubuntu.com,telemetry.enterprise.githubcopilot.com,ts-crl.ws.symantec.com,ts-ocsp.ws.symantec.com,www.googleapis.com"
14711471
GITHUB_SERVER_URL: ${{ github.server_url }}
14721472
GITHUB_API_URL: ${{ github.api_url }}
1473-
GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG: "{\"add_comment\":{\"max\":1},\"create_pull_request_review_comment\":{\"max\":15,\"side\":\"RIGHT\"},\"missing_data\":{},\"missing_tool\":{},\"noop\":{\"max\":1,\"report-as-issue\":\"true\"}}"
1473+
GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG: "{\"add_comment\":{\"max\":1},\"create_pull_request_review_comment\":{\"max\":10,\"side\":\"RIGHT\"},\"missing_data\":{},\"missing_tool\":{},\"noop\":{\"max\":1,\"report-as-issue\":\"true\"}}"
14741474
with:
14751475
github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
14761476
script: |

.github/workflows/pr-review.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ on:
77
engine: copilot
88
safe-outputs:
99
add-comment: {}
10-
create-pull-request-review-comment:
11-
max: 15
10+
create-pull-request-review-comment: {}
1211
permissions:
1312
contents: read
1413
pull-requests: read

0 commit comments

Comments
 (0)