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

convert triage action from python to go #51

Closed
wants to merge 2 commits into from

Conversation

lostmygithubaccount
Copy link
Contributor

converts the workflow that adds items to the triage project from Python to Go

why?

this was a learning project -- I'm not sure if we should actually merge this

how?

fairly direct conversion of the Python script into Go, with some minor improvements made

what?

this reduces the the time to process all issues from >5 minutes to <1. there's some simple concurrency implemented with goroutines. I tried to take it further but got scared (and rate limited by the API)

next steps

decide if we want to merge this? given some recent discussions in our internal slack, the GH project may not be working as expected :(

@lostmygithubaccount lostmygithubaccount marked this pull request as draft November 23, 2022 17:41
@lostmygithubaccount
Copy link
Contributor Author

I can run it locally...I guess the rate limit is different for actions? not sure

https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions

@lostmygithubaccount
Copy link
Contributor Author

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

Successfully merging this pull request may close these issues.

1 participant