Repository navigation
Tags
Tags
feat(octo-pr-review-feed): add enable_im_notify input + PR_TRIAGE_WEB… …HOOK_URL secret (#81) Mirrors #80 (which added the same toggle to octo-issue-notify). The PR side of the feed pipeline was previously IM-only; this PR adds the optional triage webhook output so that repos which have moved to an external PR review triage agent can: 1. POST the sanitized PR payload to PR_TRIAGE_WEBHOOK_URL (new optional secret) for downstream fan-out review dispatch. 2. Set enable_im_notify: false to drop the now-redundant IM ping. Per the octo-notify composite action's contract, an empty `im-message` disables IM mode entirely; webhook mode is independent. Backward compat: default enable_im_notify=true and PR_TRIAGE_WEBHOOK_URL optional. Existing callers see no change. Usage example: jobs: notify: uses: Mininglamp-OSS/.github/.github/workflows/octo-pr-review-feed.yml@v1 with: repo_name: ${{ github.event.repository.name }} # ... existing inputs ... enable_im_notify: false secrets: OCTO_BOT_TOKEN: ${{ secrets.OCTO_BOT_TOKEN }} PR_TRIAGE_WEBHOOK_URL: ${{ secrets.PR_TRIAGE_WEBHOOK_URL }} Co-authored-by: lml2468 <lml2468@users.noreply.github.com>