kentaro-m / auto-assign-action

An action which adds reviewers to the pull request when the pull request is opened.
MIT License
308 stars 90 forks source link

[support] Error: Input required and not supplied: repo-token #96

Open opencurveadmin opened 2 years ago

opencurveadmin commented 2 years ago
name: 'Auto Assign'
on:
  pull_request:
    types: [opened, reopened, ready_for_review]

jobs:
  add-reviews:
    runs-on: ubuntu-latest
    steps:
      - name: 'Auto Assign Action'
        uses: kentaro-m/auto-assign-action@v1.2.3
        with:
          addReviewers: true
          addAssignees: false
          reviewers:
            - test
          numberOfReviewers: 1 

get error:

image
Safnaj commented 2 years ago

Facing the same.

omkarkhatavkar commented 1 year ago

you should be using pull_request_target if it is coming from fork PR.

lette1394 commented 1 year ago

https://github.com/kentaro-m/auto-assign-action/issues/101#issuecomment-1428003670