Enable thinking mode by default in Claude Code settings template #218
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-Trigger Claude | |
| description: Automatically trigger Claude to implement labeled issues (Hybrid OSE) | |
| on: | |
| issues: | |
| types: [labeled] | |
| jobs: | |
| auto-trigger-claude: | |
| # Gate: only run when Claude Code is explicitly enabled AND the 'claude' label is added | |
| # Enable by setting repo variable: CLAUDE_CODE_SUBSCRIPTION=active | |
| # Add 'claude' label to an issue to queue it for auto-implementation | |
| # Note: Manual @claude mentions still work regardless of labels (handled by claude-implementation.yml) | |
| # Note: Secret existence is validated at step execution time, not in job conditional | |
| # (GitHub Actions does not support direct secret references in job-level if conditions) | |
| if: ${{ vars.CLAUDE_CODE_SUBSCRIPTION == 'active' && github.event.label.name == 'claude' }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Auto-trigger Claude implementation | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.CLAUDE_TRIGGER_PAT }} | |
| script: | | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| body: '@claude Please implement this issue and CREATE AN ACTUAL PULL REQUEST on GitHub.\n\n**IMPORTANT**: You MUST create a real PR on GitHub (not just provide a link to create one). use branch name according to repo guidelines such that branch name contains issue number suffix and is guaranteed to be unique. The PR must be created and visible at github.com/atxtechbro/dotfiles/pulls.\n\n**NOTE**: You now have access to the full knowledge base including all principles (tracer-bullets, versioning-mindset, OSE, etc.) and procedures (git-workflow, worktree-workflow, etc.). Use this context to create high-quality PRs that follow established patterns.\n\nUse the PR template from https://github.com/atxtechbro/dotfiles/blob/main/.github/PULL_REQUEST_TEMPLATE.md when creating the pull request.' | |
| }); |