name: Issue Notification on: issues: types: [opened] permissions: issues: read jobs: notify: runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Send notification env: ISSUE_NUMBER: ${{ github.event.issue.number }} ISSUE_TITLE: ${{ github.event.issue.title }} ISSUE_BODY: ${{ github.event.issue.body }} ISSUE_AUTHOR: ${{ github.event.issue.user.login }} ISSUE_LABELS: ${{ toJSON(github.event.issue.labels) }} ISSUE_URL: ${{ github.event.issue.html_url }} ISSUE_CREATED_AT: ${{ github.event.issue.created_at }} REPOSITORY: ${{ github.repository }} DISPATCH_TOKEN: ${{ secrets.CROSS_REPO_TOKEN_CLAUDE_CODE }} DISPATCH_ENDPOINT: ${{ secrets.DISPATCH_ENDPOINT }} run: | if [ -z "$DISPATCH_TOKEN" ] || [ -z "$DISPATCH_ENDPOINT" ]; then echo "Dispatch configuration not complete, skipping notification" exit 0 fi # Prepare payload with issue metadata PAYLOAD=$(cat <