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.
MIT License
169 stars 60 forks source link

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

Open lantisnt opened 3 years ago

lantisnt commented 3 years ago

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)