BUILD-11686 Add report-ci-metrics job to build workflow#112
Merged
mikolaj-matuszny-ext-sonarsource merged 1 commit intoJun 25, 2026
Merged
Conversation
julien-carsique-sonarsource
approved these changes
Jun 25, 2026
Add a CI-metrics reporting job mirroring sonar-dummy: it runs after the build job (if: always()) and posts the sticky PR comment / job summary via SonarSource/ci-github-actions/report-ci-metrics@master. The action reads per-job metrics from the run's job logs over the GitHub API, so it needs no checkout or artifacts — only actions:read and pull-requests:write. This dogfoods the full CI-metrics path now that the gh-action_cache dist emits snake_case JSON keys.
mikolaj-matuszny-ext-sonarsource
force-pushed
the
BUILD-11686-add-ci-metrics-report
branch
from
June 25, 2026 09:31
9a1eaf1 to
270ce47
Compare
|
mikolaj-matuszny-ext-sonarsource
deleted the
BUILD-11686-add-ci-metrics-report
branch
June 25, 2026 09:39
Code Review ✅ ApprovedIntegrates the report-ci-metrics job into the build workflow to enable CI metrics dogfooding. No issues found. OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Add a
report-ci-metricsjob tobuild.yml, mirroring the one already in sonar-dummy. It runs after the build job (if: always()) and posts the CI-metrics sticky PR comment / job summary viaSonarSource/ci-github-actions/report-ci-metrics@master.Why
Roll out CI-metrics dogfooding to this repo now that:
report-ci-metricstrend-display (BUILD-11311) is merged toci-github-actionsmaster, andThe action reads per-job metrics from the run's job logs via the GitHub API, so it needs no checkout, artifacts, or cache step — only
actions: read+pull-requests: write.Verification
actionlint+ repo pre-commit (yamllint, GitHub-workflow validation) — all clean.needs: [build]matches the existing build job key.Part of BUILD-11686