Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forks fail on GitHub Actions Continuous Inspection Build #4346

Closed
robertmcnees opened this issue Apr 10, 2023 · 0 comments
Closed

Forks fail on GitHub Actions Continuous Inspection Build #4346

robertmcnees opened this issue Apr 10, 2023 · 0 comments

Comments

@robertmcnees
Copy link
Contributor

After forking spring-batch the GitHub Actions workflow "Continuous Inspection" repeatedly fails. The exact error message is:

Error: SonarQube server [] can not be reached

And is likely because the secrets cannot be accessed in a fork.

    - name: Analyse code quality with Sonar
        env:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
          SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
        run: mvn sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants