spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / .github / workflows / issue-opened-dispatch.yml
28 lines · 738 BRaw
1name: Issue Opened Dispatch
2
3on:
4 issues:
5 types: [opened]
6
7permissions:
8 issues: read
9 actions: write
10
11jobs:
12 notify:
13 runs-on: ubuntu-latest
14 timeout-minutes: 1
15 steps:
16 - name: Process new issue
17 env:
18 ISSUE_URL: ${{ github.event.issue.html_url }}
19 ISSUE_NUMBER: ${{ github.event.issue.number }}
20 ISSUE_TITLE: ${{ github.event.issue.title }}
21 TARGET_REPO: ${{ secrets.ISSUE_OPENED_DISPATCH_TARGET_REPO }}
22 GH_TOKEN: ${{ secrets.ISSUE_OPENED_DISPATCH_TOKEN }}
23 run: |
24 gh api repos/${TARGET_REPO}/dispatches \
25 -f event_type=issue_opened \
26 -f client_payload[issue_url]="${ISSUE_URL}" || {
27 exit 0
28 }