Skip to content

Releases: SonarSource/ci-github-actions

2.0.1

Choose a tag to compare

@hedinasr hedinasr released this 17 Sep 14:50
Immutable release. Only release title and notes can be modified.

What's Changed

Bug Fixes

  • Increase the get-build-number v1→v2 migration seed buffer from 1000 to 10000 so newly claimed numbers do not collide with historical v1 Artifactory build-info (#351, PREQ-8673)
  • Guard remaining steps.secrets.outputs.vault JSON lookups so empty Vault output does not cause post-job JToken parse errors (#347, BUILD-11835)
  • Make .actions symlink setup idempotent on Windows so nested composite actions no longer fail with cannot overwrite directory (#344, BUILD-12536)

Documentation

  • Document BUILD_NUMBER reuse across actions that wrap get-build-number (#346, BUILD-11805)
  • Remove the obsolete Cirrus-to-GitHub migration guide (#349, BUILD-12282)

Internal & Chores

  • Upgrade this repo's pre-commit CI to gh-action_pre-commit@v2 (#345, BUILD-12282)

Full Changelog: 2.0.0...2.0.1

2.0.0

Choose a tag to compare

@julien-carsique-sonarsource julien-carsique-sonarsource released this 27 Aug 10:29
Immutable release. Only release title and notes can be modified.

Caution

Breaking change. get-build-number, config-maven, config-pip, and config-uv now require:

    permissions:
      contents: write

What's Changed

Bug Fixes

  • (#336, PREQ-7781) Fixed a race condition where concurrent workflow runs (e.g. several GitHub Stacked PRs opened at once) could be assigned the same build number. Claiming now uses atomic Git references (refs/build-number/<N>) instead of a non-atomic repository-property.
    The manual BUILD_NUMBER output/env passthrough between jobs some workflows used as a cross-job reuse workaround is no longer necessary.
    See the Git References section of the README for the full reference table, and Inspecting current refs for how to check the current build number or a workflow run's claimed number directly via git ls-remote.
    See also the xtranet/Platform/BUILD_NUMBER - GitHub page.

Internal & Chores


Migration

Update every caller's permissions: block: contents: read → contents: write. This includes get-build-number, config-maven,
config-pip, and config-uv.

Remove any manual BUILD_NUMBER output/env passthrough between jobs, as the new atomic Git reference mechanism handles this automatically.

Remove any parent workflow's get-build-number step if it was only used to pass a synchronized build number to child workflows.

Full Changelog: 1.8.9...2.0.0

1.8.9

Choose a tag to compare

@julien-carsique-sonarsource julien-carsique-sonarsource released this 06 Aug 10:05
Immutable release. Only release title and notes can be modified.

What's Changed

Improvements

  • config-pip: Export ARTIFACTORY_URL, ARTIFACTORY_USERNAME, and ARTIFACTORY_ACCESS_TOKEN as environment variables, so callers no longer need to retrieve their own Artifactory tokens to route pip/Pipfile installs through Repox. (PREQ-7838 — #333 by @alex-meseldzija-sonarsource)

Documentation

  • config-pip: Fix README usage example order — config-pip must run before actions/setup-python, otherwise setup-python's internal pip install --upgrade pip step hits public PyPI directly before pip is routed through Repox. (PREQ-7805 — #334 by @julien-carsique-sonarsource)

New Contributors

Full Changelog: 1.8.8...1.8.9

1.8.8

Choose a tag to compare

@hedinasr hedinasr released this 04 Aug 15:19
Immutable release. Only release title and notes can be modified.
1.8.8
1df8fda

What's Changed

Bug Fixes

  • Route Develocity Gradle plugin resolution through Repox when use-develocity: true, fixing SSL/PKIX failures against plugins.gradle.org (#332, BUILD-12123)

Improvements

  • Run config-pip before pre-commit so pip upgrades resolve via Repox instead of pypi.org (#332, BUILD-12123)

Documentation

  • Remove outdated runner recommendation from the README (#331, PREQ-7671)

Full Changelog: 1.8.7...1.8.8

1.8.7

Choose a tag to compare

@tomverin tomverin released this 23 Jul 16:48
Immutable release. Only release title and notes can be modified.
3c6565f

What's Changed

Bug Fixes

Fixes a regression in 1.8.6 where multi-repo promote jobs failed even after a successful Artifactory promotion, because the plugin returns plain text (Promoted …) rather than JSON.

Full Changelog: 1.8.6...1.8.7

1.8.6

Choose a tag to compare

@tomverin tomverin released this 23 Jul 14:22
Immutable release. Only release title and notes can be modified.
85f0fbc

What's Changed

Bug Fixes

New Contributors

Full Changelog: 1.8.5...1.8.6

1.8.5

Choose a tag to compare

@matemoln matemoln released this 20 Jul 10:32
Immutable release. Only release title and notes can be modified.
e376b86

Bug Fixes

  • BUILD-11536: Prefer Vault token over workflow GH_TOKEN in get-build-number #323
  • BUILD-12007: Bump jfrog-cli in config-uv to 2.115.0 for jf uv support #325

Full Changelog: 1.8.4...1.8.5

1.8.4

Choose a tag to compare

@julien-carsique-sonarsource julien-carsique-sonarsource released this 17 Jul 09:09
Immutable release. Only release title and notes can be modified.

What's Changed

Bug Fixes

  • Validate BUILD_NUMBER before exporting it in get-build-number, closing a gap where a cache hit or an externally-provided BUILD_NUMBER env var could carry a corrupted or empty value straight through unchecked (#319, PREQ-7260)

New Contributors

Full Changelog: 1.8.3...1.8.4

1.8.3

Choose a tag to compare

@julien-carsique-sonarsource julien-carsique-sonarsource released this 15 Jul 08:35
Immutable release. Only release title and notes can be modified.

What's Changed

⚡ Improvements

  • config-poetry: Reach 100% code coverage in the test suite (test-only change, no behavior impact). (BUILD-11718 — #318 by @hedinasr)

🐛 Bug Fixes

  • config-uv: Fix mise local config restore when callers set a non-default working-directory — cleanup now runs at the workspace root instead of inside the working directory, so rm mise.local.toml no longer fails. (PREQ-7293 — #321 by @hedinasr)

Full Changelog: 1.8.2...1.8.3

1.8.2

Choose a tag to compare

@julien-carsique-sonarsource julien-carsique-sonarsource released this 07 Jul 13:30
Immutable release. Only release title and notes can be modified.

What's Changed

Improvements

Full Changelog: 1.8.1...1.8.2