Skip to content

BUILD-11686 Add report-ci-metrics job to build workflow#112

Merged
mikolaj-matuszny-ext-sonarsource merged 1 commit into
masterfrom
BUILD-11686-add-ci-metrics-report
Jun 25, 2026
Merged

BUILD-11686 Add report-ci-metrics job to build workflow#112
mikolaj-matuszny-ext-sonarsource merged 1 commit into
masterfrom
BUILD-11686-add-ci-metrics-report

Conversation

@mikolaj-matuszny-ext-sonarsource

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What

Add a report-ci-metrics job to build.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 via SonarSource/ci-github-actions/report-ci-metrics@master.

Why

Roll out CI-metrics dogfooding to this repo now that:

The 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

@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Jun 25, 2026

Copy link
Copy Markdown

BUILD-11686

Comment thread .github/workflows/build.yml Outdated
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
mikolaj-matuszny-ext-sonarsource force-pushed the BUILD-11686-add-ci-metrics-report branch from 9a1eaf1 to 270ce47 Compare June 25, 2026 09:31
@sonarqubecloud

Copy link
Copy Markdown

@mikolaj-matuszny-ext-sonarsource
mikolaj-matuszny-ext-sonarsource merged commit 3f52c85 into master Jun 25, 2026
8 checks passed
@mikolaj-matuszny-ext-sonarsource
mikolaj-matuszny-ext-sonarsource deleted the BUILD-11686-add-ci-metrics-report branch June 25, 2026 09:39
@gitar-bot

gitar-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Integrates the report-ci-metrics job into the build workflow to enable CI metrics dogfooding. No issues found.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants