com-pas / compas-architecture

Project's architecture documentation
Creative Commons Attribution 4.0 International
9 stars 5 forks source link

Sonar Analysis Check not updated with Dependabot #165

Closed dlabordus closed 2 years ago

dlabordus commented 2 years ago

Subject of the issue

When Dependabot creates a Pull Request to update a version, the Sonar Analysis Check isn't updated and stays on "Expected". This will block merging the PR, because we want the Sonar Gate to pass for all PR's.

A temporary fix is to locally checkout the branch and force a commit and push with the following 2 commands

git commit -s --amend --no-edit
git push -f

Expected behaviour

Sonar Analysis Check to be updated after report is posted to PR.

Actual behaviour

Sonar Analysis Check stays on "Expected" and block PR.

dlabordus commented 2 years ago

Changed the CoMPAS Core Repository to validate if change works.

Got the idea from the following links, first one most important