Export of repository data crashes out if permission is not provided. Some restricted repository information may not be accessible with the default GitHub Actions token or with the provided token.
Expected behaviour
Attempts to export data that is not authorized should not crash the process.
Error output
Capture any error messages and or verbose messages with -Verbose.
ForbiddenException: Resource not accessible by integration
AggregateException: One or more errors occurred. (Resource not accessible by integration)
Description of the issue
Export of repository data crashes out if permission is not provided. Some restricted repository information may not be accessible with the default GitHub Actions token or with the provided token.
Expected behaviour
Attempts to export data that is not authorized should not crash the process.
Error output
Capture any error messages and or verbose messages with
-Verbose
.