diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..5572344 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +# managed-by: talieisin-org-bootstrap v1 +# Auto-request the maintainer's review on every PR raised here. +# Dependabot PRs: auto-merge.yml strips this at-open request so the +# review-requested inbox keeps meaning ready-to-merge; the AI pipeline +# re-requests when a PR reaches ai-complete. +* @george-elphick-talieisin diff --git a/.github/workflows/claude-command.yml b/.github/workflows/claude-command.yml new file mode 100644 index 0000000..35a27b9 --- /dev/null +++ b/.github/workflows/claude-command.yml @@ -0,0 +1,22 @@ +# managed-by: talieisin-org-bootstrap v1 +# `@claude ` on any PR or issue comment: an unprivileged Claude +# round researches the question against this repo and posts the answer. +# Authorised commenters only (org variable AI_COMMAND_USERS); read-only — +# it never changes code. All logic lives in the org's shared workflows. +name: Claude command +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + +jobs: + command: + if: startsWith(github.event.comment.body, '@claude') + uses: Talieisin/.github/.github/workflows/claude-command.yml@main + with: + model: sonnet + secrets: + CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + TALIEISIN_AUTOMATION_APP_ID: ${{ secrets.TALIEISIN_AUTOMATION_APP_ID }} + TALIEISIN_AUTOMATION_APP_PRIVATE_KEY: ${{ secrets.TALIEISIN_AUTOMATION_APP_PRIVATE_KEY }}