Skip to content

Commit 4245b11

Browse files
committed
auto assign
1 parent a2513f0 commit 4245b11

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/auto-assign-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ jobs:
1111
- name: Assign PR to repo owner
1212
uses: actions/github-script@v8
1313
with:
14-
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
github-token: ${{ secrets.GH_ADMIN_TOKEN }}
1515
script: |
16-
const owner = context.repo.owner;
1716
await github.rest.issues.addAssignees({
1817
owner: context.repo.owner,
1918
repo: context.repo.repo,

0 commit comments

Comments
 (0)