diff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yaml index 8bae0fe2d..027b266f4 100644 --- a/.github/workflows/claude-ci-fix.yaml +++ b/.github/workflows/claude-ci-fix.yaml @@ -31,6 +31,8 @@ jobs: ref: main fetch-depth: 0 fetch-tags: true + # Use bot token so pushed commits trigger CI workflows + token: ${{ secrets.WORKTRUNK_BOT_TOKEN }} - name: 🔧 Configure git for Claude run: | @@ -63,6 +65,8 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + # Use bot token so pushed commits trigger CI workflows + github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }} additional_permissions: | actions: read diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml index 7fa069f97..d18643c17 100644 --- a/.github/workflows/claude-mention.yaml +++ b/.github/workflows/claude-mention.yaml @@ -36,6 +36,8 @@ jobs: github.event.issue.number) || github.ref }} fetch-depth: 0 # Get more history for better context fetch-tags: true + # Use bot token so pushed commits trigger CI workflows + token: ${{ secrets.WORKTRUNK_BOT_TOKEN }} - name: 🔧 Configure git for Claude run: | @@ -68,6 +70,8 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + # Use bot token so pushed commits trigger CI workflows + github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }} # This is an optional setting that allows Claude to read CI results on PRs additional_permissions: |