Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not add a reviewer #55

Open
Power-Maverick opened this issue Sep 6, 2021 · 3 comments
Open

Does not add a reviewer #55

Power-Maverick opened this issue Sep 6, 2021 · 3 comments

Comments

@Power-Maverick
Copy link

I have the config as presented below. The action is adding the author but does not adds me as a reviewer.

addReviewers: true
addAssignees: author
reviewers:
  - Power-Maverick
numberOfReviewers: 0
@grandeljay
Copy link

I am getitng an error though. Is this still an issue or am I doing something wrong?

The workflow is not valid. .github/workflows/auto-assign.yml (Line: 15, Col: 23): A sequence was not expected .github/workflows/auto-assign.yml (Line: 17, Col: 23): A sequence was not expected
name: "Auto Assign"
on:
    pull_request:
        types: [opened, ready_for_review]

jobs:
    add-reviews:
        runs-on: ubuntu-latest
        steps:
            - uses: kentaro-m/[email protected]
              with:
                  addReviewers: true
                  addAssignees: author
                  reviewers:
                      - "grandeljay"
                  skipKeywords:
                      - wip

@OrlinVasilev
Copy link

OrlinVasilev commented Dec 7, 2022

@grandeljay from my experience so far you have to add your yaml config as separate file for example under .github/auto-assignee.yml and then specify that file under the workflows config

    with:
      configuration-path: ".github/auto-assignees.yml"

grandeljay added a commit to wishthis/wishthis that referenced this issue Mar 12, 2023
According to kentaro-m/auto-assign-action#55 the auto-assign workflow needs a configuration file to run.
@grandeljay
Copy link

That seems to work, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants