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

Port take workflow to use oktokit #6242

Open
alamb opened this issue Aug 13, 2024 · 0 comments
Open

Port take workflow to use oktokit #6242

alamb opened this issue Aug 13, 2024 · 0 comments

Comments

@alamb
Copy link
Contributor

alamb commented Aug 13, 2024

          Hi, I recommend using [GitHub scripts](https://github.com/actions/github-script) instead of `curl` for easier maintainance.

We can use simple js code here instead:

octokit.rest.issues.addAssignees({
  owner,
  repo,
  issue_number,
  assignees,
});

ref: https://octokit.github.io/rest.js/v20#issues

Originally posted by @Xuanwo in #6059 (comment)

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

1 participant