Skip to content

CI/CD workflow hardening and API-shipping log clarity#4881

Merged
arturcic merged 5 commits intoGitTools:mainfrom
arturcic:feature/cicd-improvements
Mar 18, 2026
Merged

CI/CD workflow hardening and API-shipping log clarity#4881
arturcic merged 5 commits intoGitTools:mainfrom
arturcic:feature/cicd-improvements

Conversation

@arturcic
Copy link
Member

@arturcic arturcic commented Mar 18, 2026

Summary

Improve CI/CD consistency and API-shipping observability across the workflow and automation changes in this branch.

Scope

  • Standardize behavior across affected GitHub Actions workflows and composite actions.
  • Improve consistency for checkout/auth/provenance-related pipeline paths.
  • Improve API shipping log readability with explicit per-target change count output.

Validation

  • Workflow and script changes were validated during branch development.

Issue

Resolves #4880

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes and hardens CI/CD GitHub Actions workflows while improving the readability/observability of the Public API “mark shipped” automation output.

Changes:

  • Update multiple workflows/composite actions for more consistent formatting and standardized checkout/auth/credential patterns.
  • Improve mark-shipped.ps1 output to emit an explicit per-target change count and ignore the #nullable enable header line.
  • Update artifact/provenance-related composite actions (artifact restore + build provenance attestation) to newer action versions.

Reviewed changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/mark-shipped.ps1 Adds per-target API change count logging and header filtering; adds a post-run “changes detected” log.
.github/workflows/public-api.yml Switches to gittools/cicd/checkout + gittools/cicd/git-commit-push for the public API shipping workflow.
.github/workflows/mkdocs.yml Adds workflow_dispatch and switches to gittools/cicd/checkout + gittools/cicd/git-commit-push for docs snippet updates.
.github/workflows/winget.yml Replaces GitHub App token generation with gittools/cicd/github-creds for komac submissions.
.github/workflows/homebrew.yml Replaces GitHub App token generation with gittools/cicd/github-creds and targets gittools-bot/homebrew-core.
.github/workflows/gittools-actions.yml Updates GitHub App credential loading step/action naming and formatting for dispatch automation.
.github/workflows/release.yml Formatting/consistency updates to steps.
.github/workflows/new-cli.yml Formatting/consistency updates to triggers and steps.
.github/workflows/format.yml Formatting/consistency updates to triggers and steps.
.github/workflows/docs.yml Formatting/consistency updates across jobs/steps.
.github/workflows/codeql-analysis.yml Formatting/consistency updates to steps and ordering.
.github/workflows/_prepare.yml Formatting/consistency updates to matrix and steps.
.github/workflows/_build.yml Formatting/consistency updates to matrix and steps.
.github/workflows/_unit_tests.yml Formatting/consistency updates to steps.
.github/workflows/_publish.yml Formatting/consistency updates to steps and env blocks.
.github/workflows/_docker.yml Formatting/consistency updates to steps and conditions.
.github/workflows/_docker_manifests.yml Formatting/consistency updates to steps and conditions.
.github/workflows/_artifacts_windows.yml Formatting/consistency updates to steps.
.github/workflows/_artifacts_linux.yml Formatting/consistency updates to steps and retry command indentation.
.github/actions/cache-restore/action.yml Formatting/consistency updates to composite action steps.
.github/actions/artifacts-restore/action.yml Updates artifact download action version and normalizes step formatting.
.github/actions/artifacts-attest/action.yml Updates provenance attestation action version and normalizes step formatting.
.github/actions/docker-setup/action.yml Fixes composite action indentation/formatting.
.github/actions/docker-test/action.yml Normalizes composite action indentation/formatting.
.github/actions/docker-publish/action.yml Normalizes composite action indentation/formatting.
.github/actions/docker-manifests/action.yml Normalizes composite action indentation/formatting.

@sonarqubecloud
Copy link

@arturcic arturcic added this to the 6.x milestone Mar 18, 2026
@arturcic arturcic added the build label Mar 18, 2026
@arturcic arturcic merged commit 2a1bbe4 into GitTools:main Mar 18, 2026
126 checks passed
@arturcic arturcic deleted the feature/cicd-improvements branch March 18, 2026 16:19
@mergify
Copy link
Contributor

mergify bot commented Mar 18, 2026

Thank you @arturcic for your contribution!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI/CD workflow hardening and release-process observability

2 participants