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 / oncall-triage.yml
34 lines · 1000 BRaw
1name: Oncall Issue Triage
2description: Automatically identify and label critical blocking issues requiring oncall attention
3on:
4 push:
5 branches:
6 - add-oncall-triage-workflow # Temporary: for testing only
7 schedule:
8 # Run every 6 hours
9 - cron: '0 */6 * * *'
10 workflow_dispatch: # Allow manual trigger
11
12jobs:
13 oncall-triage:
14 runs-on: ubuntu-latest
15 timeout-minutes: 15
16 permissions:
17 contents: read
18 issues: write
19
20 steps:
21 - name: Checkout repository
22 uses: actions/checkout@v4
23
24 - name: Run Claude Code for Oncall Triage
25 timeout-minutes: 10
26 uses: anthropics/claude-code-action@v1
27 env:
28 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 GH_REPO: ${{ github.repository }}
30 with:
31 github_token: ${{ secrets.GITHUB_TOKEN }}
32 allowed_non_write_users: "*"
33 prompt: "/oncall-triage-ci REPO: ${{ github.repository }}"
34 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}