When using your action on GitHub enterprise servers the action requires public_github_token to be set if I understood it correctly.
However I didn't found any specification which scopes the token needs. Please correct me / close the issue if I am wrong.