srggrs / assign-one-project-github-action

Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: New PR from a fork does not get assigned to project

lantisnt opened this issue · comments

When creating PR from a fork of the project, the PR doesn't get assigned to a project.
Action succeeds but fails internally:

changing col name for PR event
{
  "message": "Resource not accessible by integration",
  "documentation_url": "https://docs.github.com/rest/reference/projects#create-a-project-card"
}

https://github.com/lantisnt/ClassicLootManager/runs/2613102772?check_suite_focus=true
https://github.com/lantisnt/ClassicLootManager/actions/runs/854222956

That may be important info: That fork did not have this action in the code when the PR was requested (repo to which it was merged - the one i linked - had)