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
enable repo-level project assignment #149
base: master
Are you sure you want to change the base?
Conversation
Currently todo-to-issue only supports assigning issues to an organization-level project, or a user-level one. This should allow the action to assign issues to projects that are localized to a repo within an organization
enable repo-level projects
github.com will be wrong for enterprise users, change this to use {self.base_url}
update url-to-line for enterprise
Cool, thanks for the contribution! Just wondering have you tested this out and it works? And is it for the legacy style projects? At some point in the future I would like to improve how projects work with the action in general, but I don't think the API (last time I checked) for the new style projects is quite there yet, and the If this works for the time being then I'm happy to add it. |
This is for classic projects, yes. my org is running github enterprise and we don't have the new-style project support yet, so i wrote this using the existing logic and known paths (e.g. i know that https://gitUrl/orgName/repoName/projects is a valid url). Unfortunately, because we lock down what actions can be used, I can't just test it within that context without several layers of approval (your app is approved, but mine being a fork of yours would need separate approval). for my personal github account, i can't create classic projects to test against because i don't already have a classic project (see here) long story short, i haven't tested it unfortunately because right now i can't. |
according to their documentation, it appears actions/add-to-project will never work with classic projects. since enterprise users will likely need their own workaround for an issue, i think this would be a good stopgap |
Fair enough, sorry I've not got around to it yet, I'll aim to shortly. Also, in the README I noticed you'd added a bit about potentially using the |
Currently todo-to-issue only supports assigning issues to an organization-level project, or a user-level one. This should allow the action to assign issues to projects that are localized to a repo within an organization