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

Action Fails with GitHub Project Beta boards #76

Open
adamzimmermann opened this issue Oct 11, 2021 · 10 comments
Open

Action Fails with GitHub Project Beta boards #76

adamzimmermann opened this issue Oct 11, 2021 · 10 comments

Comments

@adamzimmermann
Copy link

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.

workflow

error

@alex-page
Copy link
Owner

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.

@adamzimmermann
Copy link
Author

I think this is because the new projects live in organisations?

That would be my guess too.

I'll try to find some time to explore this in the next couple weeks. 🤞🏼

@alex-page
Copy link
Owner

I just noticed this workflows tab in our GitHub project beta. This project might not be necessary in the future.

Screen Shot 2021-10-22 at 10 32 17 AM

@adamzimmermann
Copy link
Author

I'll hold off on this for a bit then and see what becomes of the new feature.

That does look promising.

@spl
Copy link

spl commented Nov 2, 2021

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)).

@kittykat
Copy link

kittykat commented Nov 8, 2021

Fwiw, you can use octokit/graphql-action with beta boards although there is a bit more setup involved

@prince-chrismc
Copy link

I think this is because the new projects live in organisations?

That would be my guess too.

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.

@phuhl
Copy link

phuhl commented Mar 4, 2022

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

@hugovk
Copy link
Contributor

hugovk commented Mar 7, 2022

@phuhl Thanks for sharing! Can it also add PRs created by Dependabot to the beta boards?

@phuhl
Copy link

phuhl commented Mar 8, 2022

@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 :)

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

7 participants