Closed service-paradis closed 3 years ago
secrets.GITHUB_TOKEN
is working fine if the project is in the same repo.
In our case, we want to use the project at the organisation level. Looks like we need a PAT to make this work.
I think you need the write:org
and read:org
for sure, then follow the instructions in https://github.com/srggrs/assign-one-project-github-action#organisation-or-user-project
Yes, I can make it works using the instructions. I just wanted to know the minimal required permissions to limit the scope of the PAT.
Thank you for the follow up!
@service-paradis
In our case, we want to use the project at the organisation level. Looks like we need a PAT to make this work.
Do you have an example how to use a PAT in the script?
secrets.GITHUB_TOKEN
is working fine if the project is in the same repo. In our case, we want to use the project at the organisation level. Looks like we need a PAT to make this work.
These instructions only say to gen a token - they don't say the scope needed for said token.
We want to use this action to add PRs from a repo to an organisation project. We want to know what are the minimal permissions needed.
write:org
?read:org
?admin:org
?