We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4bc043 + 5219fad commit d92333cCopy full SHA for d92333c
.github/workflows/auto-review.yml
@@ -3,6 +3,7 @@ name: Auto Assign Reviewer
3
on:
4
pull_request_target:
5
types: [opened, ready_for_review]
6
+ workflow_dispatch: {}
7
8
permissions:
9
pull-requests: write
@@ -26,13 +27,9 @@ jobs:
26
27
python -m pip install --upgrade pip
28
pip install pyyaml
29
- - name: Authenticate with GitHub
30
- run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token
31
- env:
32
- GH_TOKEN: ${{ secrets.GH_PAT }}
33
-
34
- name: Assign reviewer
35
env:
36
PR_NUMBER: ${{ github.event.pull_request.number }}
+ GH_TOKEN: ${{ github.token }}
37
run: |
38
python .github/scripts/assign_reviewer.py
0 commit comments