Files
keycloak/.github/workflows/version-compatibility-matrix.yml
T
dependabot[bot] e79ce1804d Bump actions/checkout from 4.2.2 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.2...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 11:21:18 +02:00

39 lines
1.2 KiB
YAML

name: Version Compatibility Matrix
# This workflow generates the version compatibility matrix for mixed-cluster tests.
# It is separated from the main CI workflow to avoid multiline secret masking issues.
# See: https://github.com/keycloak/keycloak/issues/45745
on:
workflow_call:
outputs:
matrix:
description: 'Version compatibility matrix JSON for mixed-cluster tests'
value: ${{ jobs.generate-matrix.outputs.matrix }}
permissions:
contents: read
jobs:
generate-matrix:
name: Generate Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.version-compatibility.outputs.matrix }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Version Compatibility Matrix
id: version-compatibility
env:
GH_TOKEN: ${{ github.token }}
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
BRANCH="${{ github.base_ref }}"
else
BRANCH="${{ github.ref_name }}"
fi
MATRIX_JSON=$(./.github/scripts/version-compatibility.sh "${BRANCH}")
echo "${MATRIX_JSON}"
echo "matrix=${MATRIX_JSON}" >> $GITHUB_OUTPUT