Unable to get PR decoration working for GitHub

  • ALM used: GitHub
  • CI system used: GitHub Actions
  • Scanner command used when applicable:
      - name: SonarCloud Scan
        uses: SonarSource/sonarcloud-github-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
        with:
          args: >
            -X

I also have the output for the last failing run but with the debug on it’s quite large so I omitted it from here for now.

  • Languages of the repository: Python
  • Only if the SonarCloud project is public: project and repo are private, I cvan provide these details privately when needed.
  • Error observed: No errors reported and I seem to have gotten the report uploaded to SC, it’s just the call back to GH that seems to be failing.
  • Steps to reproduce: Trigger a PR
  • Potential workaround: Nothing I can think of.

Hey there.

Is your project bound?

Hey! Thanks for getting back to me. I have checked our organisation as per the linked docs and it is indeed bound.

I should probably have also mentioned that we have this working on one of our repos and I have attempted to copy the config over but it hasn’t really helped.

Can you check the specific project as well?

Thank you Colin. I have just had a look and the project in question isn’t bound. I did a quick check on the forum here to find out how to bind the project, but the advice seems to be that I need to delete the project and recreate it. Is this still the case?

That is still the case (sorry). I pray every day for that not to be the case. :pray:

No problem, at least I now understand the issue and what the fix is.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.