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

ci(milesonte): remove impracticable workflow #937

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

grieve54706
Copy link
Contributor

I follow a 2 years ago github action to use github issues API to update pull request. But it seems not work.
https://github.com/zoispag/action-assign-milestone/blob/master/src/milestone-actions.ts#L61

RequestError [HttpError]: Validation Failed: {"value":"0.12.2","resource":"Issue","field":"milestone","code":"invalid"}
{
  message: 'Validation Failed',
  errors: [Array],
  documentation_url: 'https://docs.github.com/rest/issues/issues#update-an-issue',
  status: '422'
}

I found the GitHub API document and I can not see the body can receive a milestone for updating pull requests.
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#update-a-pull-request

Maybe auto-assigning a milestone to a new Pull request is impracticable. Let's give up.

@grieve54706 grieve54706 added the ci label Nov 21, 2024
@grieve54706 grieve54706 added this to the 0.12.2 milestone Nov 21, 2024
Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so sad 😢

@goldmedal goldmedal merged commit 36db30d into main Nov 21, 2024
9 checks passed
@goldmedal goldmedal deleted the chore/fix-milestone-assign branch November 21, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants