Skip to content

Commit ca2a789

Browse files
authored
Use claude internal allowlist option (#741)
Excluded myself again to test
1 parent fa834cb commit ca2a789

2 files changed

Lines changed: 2 additions & 29 deletions

File tree

.github/claude-allowed-users

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/claude-on-issues-and-prs.yaml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,8 @@ on:
1111
types: [submitted]
1212

1313
jobs:
14-
check-allowlist:
15-
runs-on: ubuntu-latest
16-
outputs:
17-
allowed: ${{ steps.check.outputs.allowed }}
18-
steps:
19-
- uses: actions/checkout@v4
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-
3214
claude:
33-
needs: check-allowlist
34-
if: >
35-
github.event.sender.type == 'User' &&
36-
needs.check-allowlist.outputs.allowed == 'true'
15+
if: github.event.sender.type == 'User'
3716
runs-on: ubuntu-latest
3817
permissions:
3918
contents: write
@@ -52,6 +31,7 @@ jobs:
5231
claude_args: |
5332
--max-turns 100
5433
trigger_phrase: "@claude"
34+
include_comments_by_actor: "auhlig,umswmayj,juliusclausnitzer,mblos,PhilippMatthes,Varsius,henrichter"
5535
use_litellm: "true"
5636
litellm_model: "sap/anthropic--claude-4.6-sonnet"
5737
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)