This repository was archived by the owner on Oct 6, 2026. It is now read-only.
Repository navigation
Merge branch 'main' into jl/doc-15191-claude #57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Doc Review Slack Notifier | ||
|
Check failure on line 1 in .github/workflows/docs-prs-review-slack.yml
|
||
| on: | ||
| pull_request: | ||
| types: [review_requested] | ||
| jobs: | ||
| notify: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Send notification if docs-prs requested | ||
| run: | | ||
| TEAM="${{ github.event.requested_team.slug }}" | ||
| if [ "$TEAM" = "docs-prs" ]; then | ||
| jq -n \ | ||
| --arg title "${{ github.event.pull_request.title }}" \ | ||
| --arg url "${{ github.event.pull_request.html_url }}" \ | ||
| --arg author "${{ github.event.pull_request.user.login }}" \ | ||
| --arg number "${{ github.event.pull_request.number }}" \ | ||
| --arg lines "${{ github.event.pull_request.additions + github.event.pull_request.deletions }}" \ | ||
| '{pr_title: $title, pr_url: $url, pr_author: $author, pr_number: $number, lines_changed: $lines}' \ | ||
| | curl -X POST "${{ secrets.SLACK_DOC_REVIEW_WEBHOOK_URL }}" \ | ||
| -H 'Content-Type: application/json' \ | ||
| --fail-with-body \ | ||
| -d @- | ||
| fi | ||