We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66c53a commit 5219fadCopy full SHA for 5219fad
1 file changed
.github/workflows/auto-review.yml
@@ -2,7 +2,7 @@ name: Auto Assign Reviewer
2
3
on:
4
pull_request_target:
5
- types: [opened, ready_for_review, synchronize]
+ types: [opened, ready_for_review]
6
workflow_dispatch: {}
7
8
permissions:
@@ -27,18 +27,9 @@ jobs:
27
python -m pip install --upgrade pip
28
pip install pyyaml
29
30
- - name: Authenticate with GitHub
31
- run: |
32
- if [ -z "${{ secrets.GH_PAT }}" ]; then
33
- echo "Error: GH_PAT secret is not set"
34
- exit 1
35
- fi
36
- # Use PAT directly without gh auth login
37
- echo "Using PAT for authentication"
38
-
39
- name: Assign reviewer
40
env:
41
PR_NUMBER: ${{ github.event.pull_request.number }}
42
- GH_TOKEN: ${{ secrets.GH_PAT }}
+ GH_TOKEN: ${{ github.token }}
43
run: |
44
python .github/scripts/assign_reviewer.py
0 commit comments