-
Notifications
You must be signed in to change notification settings - Fork 103
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
422 Validation Failed [{Resource:Issue Field:assignees Code:invalid Message:}] #109
Comments
So for the same setup, one repo was able to expand the github team for the list of users and was able to create an issue tagging them but this new repo with the same setup wasn't able to create an issue with same team but when I specifically mentioned user names then the issue was resolved, I'm not sure why this behavior. |
Yes, I have same issue on this
|
I got the same problem: The code used: - name: Approval
uses: trstringer/manual-approval@dd1555b1d17966cb58500676d79a181c53bb6c12
with:
secret: "......."
approvers: "my-group"
minimum-approvals: 1
issue-title: "......"
issue-body: "......"
exclude-workflow-initiator-as-approver: false It used to work and suddenly it broke when new user was added to the group. I tested it on multiple repositories and all comes down to single specific user. If group has this user or this user is specified directly than it fails. Documentation says:
Not sure what means UPDATE: it turns out that this situation happens when specific user does not have enough rights on repository. Once user was given enough rights than problem was solved. |
In my case , we had a user with no repository access granted in GHE setup. Removing the user from the approvers list solved the issue. |
Used the following values for github team and token:
But I'm getting the following error:
Note: The same setup was working in other repo 2 days back but today I created a new repo but not working.
error creating issue: POST https://api.github.com/repos/EQWorks/eq-mwaa/issues: 422 Validation Failed [{Resource:Issue Field:assignees Code:invalid Message:}]
The text was updated successfully, but these errors were encountered: