feat: add sonarqube scan, gate and comment to the PR flow #5

Open
deploy wants to merge 4 commits from deploy/sonar-pr into main AGit
Member
No description provided.
fix: scan only PRs and main in the sonar job
Some checks failed
pr / test (pull_request) Has been cancelled
pr / build (pull_request) Has been cancelled
pr / sonar (pull_request) Has been cancelled
preview / teardown (pull_request) Has been cancelled
preview / deploy (pull_request) Has been cancelled
52d42704b5
fix: authenticate the sonar-pr.sh fetch against the private forgejo
Some checks failed
pr / test (pull_request) Has been cancelled
pr / build (pull_request) Has been cancelled
pr / sonar (pull_request) Has been cancelled
preview / teardown (pull_request) Has been cancelled
preview / deploy (pull_request) Has been cancelled
b12e553414
fix: stream the workspace into the scanner and keep the comment fail-soft
Some checks are pending
pr / test (pull_request) Blocked by required conditions
pr / build (pull_request) Blocked by required conditions
pr / sonar (pull_request) Blocked by required conditions
preview / teardown (pull_request) Blocked by required conditions
preview / deploy (pull_request) Blocked by required conditions
1a12f8f1b8
Some checks are pending
pr / test (pull_request) Blocked by required conditions
pr / build (pull_request) Blocked by required conditions
pr / sonar (pull_request) Blocked by required conditions
preview / teardown (pull_request) Blocked by required conditions
preview / deploy (pull_request) Blocked by required conditions
This pull request can be merged automatically.
Some workflows are waiting to be reviewed.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/5/head:deploy/sonar-pr
git switch deploy/sonar-pr

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff deploy/sonar-pr
git switch deploy/sonar-pr
git rebase main
git switch main
git merge --ff-only deploy/sonar-pr
git switch deploy/sonar-pr
git rebase main
git switch main
git merge --no-ff deploy/sonar-pr
git switch main
git merge --squash deploy/sonar-pr
git switch main
git merge --ff-only deploy/sonar-pr
git switch main
git merge deploy/sonar-pr
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
templates/template-api-fastapi!5
No description provided.