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 / backfill-duplicate-comments.yml
44 lines · 1.2 KBRaw
1name: Backfill Duplicate Comments
2description: Triggers duplicate detection for old issues that don't have duplicate comments
3
4on:
5 workflow_dispatch:
6 inputs:
7 days_back:
8 description: 'How many days back to look for old issues'
9 required: false
10 default: '90'
11 type: string
12 dry_run:
13 description: 'Dry run mode (true to only log what would be done)'
14 required: false
15 default: 'true'
16 type: choice
17 options:
18 - 'true'
19 - 'false'
20
21jobs:
22 backfill-duplicate-comments:
23 runs-on: ubuntu-latest
24 timeout-minutes: 30
25 permissions:
26 contents: read
27 issues: read
28 actions: write
29
30 steps:
31 - name: Checkout repository
32 uses: actions/checkout@v4
33
34 - name: Setup Bun
35 uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 (sha-pinned)
36 with:
37 bun-version: latest
38
39 - name: Backfill duplicate comments
40 run: bun run scripts/backfill-duplicate-comments.ts
41 env:
42 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 DAYS_BACK: ${{ inputs.days_back }}
44 DRY_RUN: ${{ inputs.dry_run }}