Create a Fine-grained Personal Access Token
-
Navigate to your GitHub Profile > Settings.

-
Go to Developer settings (bottom left).

-
Navigate to Personal access tokens > Fine-grained tokens.

-
Click Generate new token.

- Set the Resource owner to your target organization.
-
Under Repository access, select All repositories.

-
Configure the required repository and organization permissions to Read-only.

-
Click Generate token and copy the token value.
