Github Action CI Build Fail with set the SONAR_TOKEN env variable

Hello and welcome to the community forum!

I think the issue comes from how you setup your action, the SONAR_TOKEN should come from secrets.SONAR_TOKEN and not from env.SONAR_TOKEN. Also the SONAR_TOKEN secret should correctly be defined in your repositories secrets: https://github.com/react-hook-form/error-message/settings/secrets/actions

Also thanks for your PR, but we can’t accept it, the issue is with your configuration, not the action.