Closed amine-ammor closed 1 year ago
Hey there @amine-ammor. Is this a 'new' (i.e. not classic) project? If so the action won't work with that, as there is no API support for those kind of projects at present. The issue should still be created in your repo, though. The reason it doesn't in your case is because #
is not a comment marker in Markdown, so it doesn't get picked up. It should work if you use one of these styles: https://github.com/alstr/todo-to-issue-action/blob/master/syntax.json#L410
Let me know if you need any further help!
Hello, than you again for the reply.
It seems that "classical projects" are gone for the accounts, who didn't possess one. In my case, as this account is new, I can only create a new project (not a classical one) : https://github.com/orgs/community/discussions/30227.
Is a project mandatory for this "github action" to work ? It seems to be triggered by the github comment even if doesn't succeed to produce an issue?
Here is the sample of code containing the comment:
# test_repo_for_github_action
everything is in the title, that is a temporary repository
# TODO : must create issue automatically
<!-- TODO : must create issue automatically -->
<!-- TODO : must create issue automatically 2 -->
<!-- TODO : must create issue automatically 3 -->
<!-- TODO : must create issue automatically 4 -->
A project isn't mandatory at all. You can still create issues in your repo. The projects functionality is just for assigning issues to projects, and for now that's really on hold until GitHub update the API.
I can see the action is running for you but that the issues aren't being created. I would suggest using <!-- TODO: must create
as the gap before the colon may be throwing things out. Can you try that?
@amine-ammor have you been able to get this working without projects? I don't use projects but no issue is being created also.
See https://github.com/alstr/todo-to-issue-action/discussions/174
Hello,
I created a test repository to test for the gitub action : https://github.com/amine-ammor/test_repo_for_github_action .
The github action runs but no issue is created. I created and assigned the "secret" to the workflow (with a token with full access with full access), but no issue is created.
Here is the content of the yml file :
Any idea , where this might come from ? Should a project exists in the repository in order for the issue to be created ? Thank you.