I’m trying to create an action that will add reviewers to PRs, but I’m not sure this is possible based on the guidance here:
For context, in Spack, there are ~3000 package recipes, and some of them have a
maintainers field. I want the action to query the maintainers for any modified package recipes, and add them as reviewers.
I’m not seeing how I can actually make this happen with the restrictions on actions for forked repositories. The token in
$GITHUB_TOKEN will only have permissions of the user who created the PR, and they won’t be able to do anything to my repo, right? Is there something I’m missing?
If this isn’t possible, will it be possible one day? It’d be nice to grant actions permissions to do things like this.