Does not work with user or organization projects
richardsc opened this issue · 10 comments
It seems that the current version only works for repository projects -- is it possible to set it up on repos that are connected to a "User" project (or Organization)?
Heey, hello! Is it not doing anything at all for you? Are you getting a failed execution at least? I wanted to take a look to the logs but I don't know where to check.
This feature is not yet supported by GitHub Actions, no event is fired when a project card is moved between columns in an organization project.
https://github.community/t/project-card-events-for-an-organization-project/17302/10
Is there any update on this? It has been a little over a year. Is this supported now?
There still does not appear to be a way to handle events from organization projects, and there are also no equivalent events for modern projects.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#project_card
Note: This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository.
Note: This event only occurs for projects (classic).
A feature request for triggering workflow runs on organization-owned or user-owned project events can be submitted on GitHub Community, please share a link if you start a new discussion there.
https://github.com/orgs/community/discussions/categories/actions
This action is now broken, except for repositories that can still create classic projects. The projects_v2_item
event needs to be supported by GitHub Actions to fix the issue.
https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#projects_v2_item
Maybe you can copy that information (This action is now broken, except for repositories that can still create classic projects. ) in clear view in the readme until it is fixed?
@dessant it seems like projects_v2_item
is now in beta, maybe worth giving a try?
@AlissonRS, I can't find anything about a new project event that would trigger a workflow, could you share a link?
GitHub now natively supports auto-closing issues when their project status changes: https://github.blog/changelog/2024-04-25-github-issues-projects-auto-close-issue-project-workflow/