-
Notifications
You must be signed in to change notification settings - Fork 93
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
Action Fails with GitHub Project Beta boards #76
Comments
I haven't had a chance to make this work for the project beta. I think this is because the new projects live in organisations? If you want to contribute to make it work for both I would love to support it. |
That would be my guess too. I'll try to find some time to explore this in the next couple weeks. 🤞🏼 |
I'll hold off on this for a bit then and see what becomes of the new feature. That does look promising. |
Just wanted to add this token of information I came upon. There is an issue for the Projects (beta) to automatically add new issues from a repository into projects (github/roadmap#286). I picked this up from the roadmap, which suggests there are a lot of planned features including custom automation flows (github/roadmap#281). In the meantime, however, I don't think it's currently possible to automatically add issues to a project in Projects (beta) (community/community#5378 (comment)). |
Fwiw, you can use octokit/graphql-action with beta boards although there is a bit more setup involved |
FYI, We've be successful using this action with org level project from a repository so it's seem the issue is specific to the new beta projects. |
For anybody interested, you can automate your Beta boards with this here action: https://github.com/leonsteinhaeuser/project-beta-automations Using it since a few weeks, works great |
@phuhl Thanks for sharing! Can it also add PRs created by Dependabot to the beta boards? |
@hugovk Not sure, I had some issues with labels created by the API not triggering the label-events. But that really is a limitation of the Github API. The repository I linked basically does not handle the triggering, that's left up to you (but very easy to do, based on their README). Should you find out if it works with dependabot alerts, let me know :) |
I'm able to run this action successfully with a project board within the same repo as the action. When I attempt to use it for a Github Projects Beta board it fails to find it using the same access token. 🙁
I followed the README instructions from this repo when assigning permissions to the token and added a few extra just to rule that out in my debugging.
Is this limitation a known issue or does it make sense given your knowledge of access controls/API calls in regards to beta features?
Let me know what additional details I can provide to help debug this. I'm happy to create a PR to fix this as well depending on the complexity/scope of the change.
The text was updated successfully, but these errors were encountered: