18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 06:35:21 +01:00
Files
maszyna/.github
jerrrrycho 4187171859 ci(sonar): analyse every pull request again, one analysis per pull request at a time
The premise of the previous commit was wrong: pull requests into staging are analysed and get a
quality gate (#566 today). The run of #558 that gave no result was cancelled in the queue, which
is about an hour per analysis with many pull requests at once.

- build.yml runs for pull requests into any branch again, as on staging
- sonar.yml: a concurrency group per pull request with cancel-in-progress, so a newer commit's
  Build stops the analysis of the older one. workflow_run.pull_requests is empty for a pull
  request from a fork, so the fork and its branch name the group then. A push to master gets
  a group of its own commit and isn't cancelled
- sonar.yml: timeout-minutes 120 on Analyze, and an error status on the commit when the
  analysis is cancelled, so it doesn't stay "Analysis in progress"
- the scan of staging stays removed: build.yml pushes only on master, so it could never run
2026-12-01 17:11:58 +01:00
..