ci: address second codex/copilot review round

- claude.yml: drop the issues "assigned" trigger; its author_association
  gate keys on the issue author, not the assigner, so a maintainer
  assigning an outside contributor's issue would be wrongly skipped.
- claude-code-review.yml: issues: read -> write so use_sticky_comment can
  create/update its PR comment via the issues API.
- hil SKILL.md: make local/remote command blocks copy-pasteable (drop
  [-b BOARD_NAME] notation for concrete examples) and fix timeout
  (600000 ms is 10 min; use 1200000 ms for the stated 20 min).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
hathach
2026-06-02 00:24:05 +07:00
parent 1ea04f7fe6
commit 044cd06f87
3 changed files with 21 additions and 8 deletions

View File

@ -21,7 +21,7 @@ jobs:
permissions:
contents: read
pull-requests: write
issues: read
issues: write # use_sticky_comment posts/updates a PR comment via the issues API
id-token: write
actions: read # Required for Claude to read CI results on PRs

View File

@ -6,7 +6,10 @@ on:
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
# only "opened" — an issue's author_association gates the summon below;
# "assigned" would gate on the issue author, not the assigner, so a
# maintainer assigning an outsider's issue would be wrongly skipped.
types: [opened]
pull_request_review:
types: [submitted]