Skip to content

Commit 6db49fa

Browse files
Fix claude weekly workflow
1 parent ab966f4 commit 6db49fa

1 file changed

Lines changed: 3 additions & 33 deletions

File tree

.github/workflows/claude-weekly.yaml

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,16 @@
11
name: Weekly Claude Code Repo Analysis and Grooming
22

33
on:
4-
issue_comment:
5-
types: [created]
6-
issues:
7-
types: [opened, assigned]
8-
pull_request_review_comment:
9-
types: [created]
10-
pull_request_review:
11-
types: [submitted]
4+
schedule:
5+
- cron: "0 6 * * 1" # 06:00 UTC every Monday
6+
workflow_dispatch: # allow manual trigger for testing
127

138
jobs:
14-
check-allowlist:
15-
runs-on: ubuntu-latest
16-
outputs:
17-
allowed: ${{ steps.check.outputs.allowed }}
18-
steps:
19-
- uses: actions/checkout@v6
20-
with:
21-
fetch-depth: 1
22-
- name: Check sender against allowlist
23-
id: check
24-
run: |
25-
if grep -qxF "${{ github.event.sender.login }}" \
26-
<(grep -v '^#' .github/claude-allowed-users | sed '/^[[:space:]]*$/d'); then
27-
echo "allowed=true" >> $GITHUB_OUTPUT
28-
else
29-
echo "allowed=false" >> $GITHUB_OUTPUT
30-
fi
31-
329
claude:
33-
needs: check-allowlist
34-
if: >
35-
github.event.sender.type == 'User' &&
36-
needs.check-allowlist.outputs.allowed == 'true'
3710
runs-on: ubuntu-latest
3811
permissions:
3912
contents: write
4013
pull-requests: write
41-
issues: write
4214
id-token: write
4315
steps:
4416
- name: Checkout code
@@ -65,8 +37,6 @@ jobs:
6537
--max-turns 1000
6638
--permission-mode auto
6739
--allowedTools "Read,Write,Edit,Bash(*),WebSearch,WebFetch"
68-
trigger_phrase: "@claude"
69-
include_comments_by_actor: "auhlig,umswmayj,juliusclausnitzer,mblos,PhilippMatthes,Varsius,henrichter,SoWieMarkus,*[bot]"
7040
use_litellm: "true"
7141
litellm_model: "sap/anthropic--claude-4.6-opus"
7242
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)