action-github-app-token
                                
                                 action-github-app-token copied to clipboard
                                
                                    action-github-app-token copied to clipboard
                            
                            
                            
                        Better error message when the app isn't installed to the repo
The error message Error: Cannot read properties of undefined (reading 'id') isn't very descriptive. I looked into this action's source code and realized that the app wasn't properly installed to the repo so this line throws:
https://github.com/getsentry/action-github-app-token/blob/86b993806f8cc455ab145d189f0523917d2fe095/src/main.ts#L25
I think I have this issue currently. Do you know how to fix it? I had it working on an older repo, but I get this error on a new repo after copy-pasting the workflow. EDIT: Fixed it. Thanks for pointing me to the right direction.