Skip to content

Add index health monitor workflow #30

Add index health monitor workflow

Add index health monitor workflow #30

Workflow file for this run

name: PR Notification
on:
pull_request_target:
types: [opened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify Slack
if: github.actor != 'github-actions[bot]'
run: |
if [ -n "$SLACK_WEBHOOK" ]; then
curl -sf -X POST "$SLACK_WEBHOOK" \
-H 'Content-Type: application/json' \
-d "{\"text\":\"New PR on pathfinder: *${{ github.event.pull_request.title }}* by ${{ github.actor }}\n<${{ github.event.pull_request.html_url }}|View PR #${{ github.event.pull_request.number }}>\"}" || true
fi
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}