Skip to content

Commit 3db86ec

Browse files
authored
Merge pull request #356 from netwrix/dev
removed gh pr comment tool
2 parents b88b9d0 + a423c25 commit 3db86ec

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/claude-documentation-fixer.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
show_full_output: true
8484
claude_args: |
8585
--model claude-sonnet-4-5-20250929
86-
--allowedTools "Read,Write,Edit,Bash(vale:*),Bash(gh pr view:*),Bash(gh pr diff:*),Bash(gh pr comment:*),Bash(git config:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git status:*),Bash(git diff:*)"
86+
--allowedTools "Read,Write,Edit,Bash(vale:*),Bash(gh pr view:*),Bash(gh pr diff:*),Bash(git config:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git status:*),Bash(git diff:*)"
8787
--append-system-prompt "${{ steps.read-prompt.outputs.prompt }}"
8888
8989
- name: Post preexisting issues comment
@@ -148,7 +148,11 @@ jobs:
148148
check=True,
149149
)
150150
else:
151-
# Claude posted directly — find that comment, clean it up, and add the footer
151+
# Claude posted directly — find that comment, strip any intro and notes,
152+
# and add this exact footer:
153+
# To apply the suggested fixes to preexisting issues, comment `@claude` on this PR followed by your instructions
154+
# (`@claude fix all issues` or `@claude fix only the first issue`).
155+
# Note: Automated fixes are only available for branches in this repository, not forks.
152156
result = subprocess.run(
153157
['gh', 'api', f'repos/{repo}/issues/{pr_number}/comments'],
154158
capture_output=True, text=True, check=True,

0 commit comments

Comments
 (0)