From 8dc5804ba8b23a9090ffcdf29e4f4bfdafc9ef85 Mon Sep 17 00:00:00 2001 From: Samir M Date: Mon, 24 Aug 2026 10:26:35 +0200 Subject: [PATCH 1/6] BUILD-12353 Export PIP_INDEX_URL from config-pip for pipx and mise --- .github/workflows/test-build-number.yml | 1 + .github/workflows/test-shell-scripts.yml | 1 + .../workflows/test-update-release-channel.yml | 1 + config-pip/action.yml | 18 ++++++++++++++++++ 4 files changed, 21 insertions(+) diff --git a/.github/workflows/test-build-number.yml b/.github/workflows/test-build-number.yml index 0670aa96..38435b39 100644 --- a/.github/workflows/test-build-number.yml +++ b/.github/workflows/test-build-number.yml @@ -128,6 +128,7 @@ jobs: contents: read steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: ./config-pip - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-shell-scripts.yml b/.github/workflows/test-shell-scripts.yml index 6e0f5020..15701370 100644 --- a/.github/workflows/test-shell-scripts.yml +++ b/.github/workflows/test-shell-scripts.yml @@ -19,6 +19,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 + - uses: ./config-pip - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-update-release-channel.yml b/.github/workflows/test-update-release-channel.yml index 8bd3266a..78b70bd6 100644 --- a/.github/workflows/test-update-release-channel.yml +++ b/.github/workflows/test-update-release-channel.yml @@ -31,6 +31,7 @@ jobs: [[ "${{ steps.urc.outputs.version-key }}" == "Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version-url }}" == "https://binaries.sonarsource.com/Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version }}" == "0.0.0-test" ]] + - uses: ./config-pip - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/config-pip/action.yml b/config-pip/action.yml index c6f24c60..5480680d 100644 --- a/config-pip/action.yml +++ b/config-pip/action.yml @@ -94,6 +94,24 @@ runs: shell: bash run: $ACTION_PATH_CONFIG_PIP/config.sh + - name: Export pip index for tools that ignore pip.conf + shell: bash + run: | + index_url="$(python3 -c 'import configparser, pathlib; c = configparser.ConfigParser(); c.read(pathlib.Path.home() / ".pip" / "pip.conf"); print(c["global"]["index-url"])')" + host="$(python3 -c 'import configparser, pathlib, urllib.parse; c = configparser.ConfigParser(); c.read(pathlib.Path.home() / ".pip" / "pip.conf"); print(urllib.parse.urlparse(c["global"]["index-url"]).hostname or "")')" + echo "::add-mask::${index_url}" + { + echo "PIP_INDEX_URL<> "$GITHUB_ENV" + if [[ -n "${host}" ]]; then + echo "PIP_TRUSTED_HOST=${host}" >> "$GITHUB_ENV" + fi + - name: Sanitize workflow name for cache key id: sanitize_workflow if: inputs.disable-caching == 'false' From 61997d74cf266a3052919540c7cc71174de90cb6 Mon Sep 17 00:00:00 2001 From: Samir M Date: Mon, 24 Aug 2026 10:35:01 +0200 Subject: [PATCH 2/6] BUILD-12353 Wrap config-pip index export so yamllint stays under 140 --- config-pip/action.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config-pip/action.yml b/config-pip/action.yml index 5480680d..8e8e23f3 100644 --- a/config-pip/action.yml +++ b/config-pip/action.yml @@ -97,8 +97,14 @@ runs: - name: Export pip index for tools that ignore pip.conf shell: bash run: | - index_url="$(python3 -c 'import configparser, pathlib; c = configparser.ConfigParser(); c.read(pathlib.Path.home() / ".pip" / "pip.conf"); print(c["global"]["index-url"])')" - host="$(python3 -c 'import configparser, pathlib, urllib.parse; c = configparser.ConfigParser(); c.read(pathlib.Path.home() / ".pip" / "pip.conf"); print(urllib.parse.urlparse(c["global"]["index-url"]).hostname or "")')" + index_url="$(python3 -c "import configparser, pathlib +c = configparser.ConfigParser() +c.read(pathlib.Path.home() / '.pip' / 'pip.conf') +print(c['global']['index-url'])")" + host="$(python3 -c "import configparser, pathlib, urllib.parse as u +c = configparser.ConfigParser() +c.read(pathlib.Path.home() / '.pip' / 'pip.conf') +print(u.urlparse(c['global']['index-url']).hostname or '')")" echo "::add-mask::${index_url}" { echo "PIP_INDEX_URL< Date: Mon, 24 Aug 2026 10:38:56 +0200 Subject: [PATCH 3/6] BUILD-12353 Parse pip.conf with awk so action.yml stays valid YAML --- config-pip/action.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/config-pip/action.yml b/config-pip/action.yml index 8e8e23f3..e35d22a5 100644 --- a/config-pip/action.yml +++ b/config-pip/action.yml @@ -97,14 +97,11 @@ runs: - name: Export pip index for tools that ignore pip.conf shell: bash run: | - index_url="$(python3 -c "import configparser, pathlib -c = configparser.ConfigParser() -c.read(pathlib.Path.home() / '.pip' / 'pip.conf') -print(c['global']['index-url'])")" - host="$(python3 -c "import configparser, pathlib, urllib.parse as u -c = configparser.ConfigParser() -c.read(pathlib.Path.home() / '.pip' / 'pip.conf') -print(u.urlparse(c['global']['index-url']).hostname or '')")" + index_url="$(awk -F ' = ' '/^index-url/ {print $2}' "${HOME}/.pip/pip.conf")" + rest="${index_url#https://}" + rest="${rest#http://}" + rest="${rest##*@}" + host="${rest%%/*}" echo "::add-mask::${index_url}" { echo "PIP_INDEX_URL< Date: Mon, 24 Aug 2026 11:07:16 +0200 Subject: [PATCH 4/6] BUILD-12353 Configure uv default index for mise Python tools --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/test-build-number.yml | 2 +- .github/workflows/test-shell-scripts.yml | 2 +- .../workflows/test-update-release-channel.yml | 2 +- README.md | 3 ++- config-pip/action.yml | 21 ------------------- config-uv/uv_config.sh | 1 + spec/config-uv_spec.sh | 4 ++++ 8 files changed, 11 insertions(+), 26 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 5a423022..9914a561 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: ./config-npm - uses: ./config-pip - - uses: SonarSource/gh-action_pre-commit@2ddc0c7fdabce0adfaaa4075a17690972ed9961a # 1.2.0 + - uses: SonarSource/gh-action_pre-commit@27ee4b1872173a0bafea002be3c264f97f5c2c5d with: extra-args: > --from-ref=origin/${{ github.event.pull_request.base.ref }} diff --git a/.github/workflows/test-build-number.yml b/.github/workflows/test-build-number.yml index 38435b39..eb42a02f 100644 --- a/.github/workflows/test-build-number.yml +++ b/.github/workflows/test-build-number.yml @@ -128,7 +128,7 @@ jobs: contents: read steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - uses: ./config-pip + - uses: ./config-uv - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-shell-scripts.yml b/.github/workflows/test-shell-scripts.yml index 15701370..7ca6db5e 100644 --- a/.github/workflows/test-shell-scripts.yml +++ b/.github/workflows/test-shell-scripts.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 - - uses: ./config-pip + - uses: ./config-uv - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-update-release-channel.yml b/.github/workflows/test-update-release-channel.yml index 78b70bd6..a85ace05 100644 --- a/.github/workflows/test-update-release-channel.yml +++ b/.github/workflows/test-update-release-channel.yml @@ -31,7 +31,7 @@ jobs: [[ "${{ steps.urc.outputs.version-key }}" == "Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version-url }}" == "https://binaries.sonarsource.com/Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version }}" == "0.0.0-test" ]] - - uses: ./config-pip + - uses: ./config-uv - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/README.md b/README.md index 7e4e5f56..a93bbe77 100644 --- a/README.md +++ b/README.md @@ -1310,8 +1310,8 @@ permissions: contents: read steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 - uses: SonarSource/ci-github-actions/config-uv@v1 + - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 - run: jf uv sync ``` @@ -1339,6 +1339,7 @@ For build-info collection, pass `--build-name` and `--build-number` to `jf uv` a | Environment Variable | Description | |---------------------------|-------------------------------------------------------| | `BUILD_NUMBER` | The current build number | +| `UV_DEFAULT_INDEX` | Repox as uv's default package index | | `UV_INDEX_REPOX_USERNAME` | Repox username for uv (`repox` index name) | | `UV_INDEX_REPOX_PASSWORD` | Repox access token for uv | | `UV_KEYRING_PROVIDER` | Set to `disabled` when index credentials are injected | diff --git a/config-pip/action.yml b/config-pip/action.yml index e35d22a5..c6f24c60 100644 --- a/config-pip/action.yml +++ b/config-pip/action.yml @@ -94,27 +94,6 @@ runs: shell: bash run: $ACTION_PATH_CONFIG_PIP/config.sh - - name: Export pip index for tools that ignore pip.conf - shell: bash - run: | - index_url="$(awk -F ' = ' '/^index-url/ {print $2}' "${HOME}/.pip/pip.conf")" - rest="${index_url#https://}" - rest="${rest#http://}" - rest="${rest##*@}" - host="${rest%%/*}" - echo "::add-mask::${index_url}" - { - echo "PIP_INDEX_URL<> "$GITHUB_ENV" - if [[ -n "${host}" ]]; then - echo "PIP_TRUSTED_HOST=${host}" >> "$GITHUB_ENV" - fi - - name: Sanitize workflow name for cache key id: sanitize_workflow if: inputs.disable-caching == 'false' diff --git a/config-uv/uv_config.sh b/config-uv/uv_config.sh index 1690d97e..4753763b 100755 --- a/config-uv/uv_config.sh +++ b/config-uv/uv_config.sh @@ -43,6 +43,7 @@ configure_uv_repox() { # Native uv variables for named indexes. Also set explicitly so plain `uv` works; # `jf uv` injects the same variables when they are unset. { + echo "UV_DEFAULT_INDEX=${UV_INDEX_NAME}=${ARTIFACTORY_URL}/api/pypi/sonarsource-pypi/simple" echo "UV_INDEX_${index_name_upper}_USERNAME=$ARTIFACTORY_USERNAME" echo "UV_INDEX_${index_name_upper}_PASSWORD=$ARTIFACTORY_ACCESS_TOKEN" echo "UV_KEYRING_PROVIDER=disabled" diff --git a/spec/config-uv_spec.sh b/spec/config-uv_spec.sh index cb00b406..3cc29c77 100644 --- a/spec/config-uv_spec.sh +++ b/spec/config-uv_spec.sh @@ -34,6 +34,8 @@ Describe 'configure_uv_repox()' The line 1 should equal "$MESSAGE_CONFIGURING_UV" The line 2 should include "jf config add repox" The line 3 should include "jf config use repox" + The contents of file "$GITHUB_ENV" should include \ + "UV_DEFAULT_INDEX=repox=https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_USERNAME=test-user" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_PASSWORD=test-token" The contents of file "$GITHUB_ENV" should include "UV_KEYRING_PROVIDER=disabled" @@ -73,6 +75,8 @@ Describe 'main()' The line 3 should include "jf config add repox" The line 4 should include "jf config use repox" The line 5 should equal "::endgroup::" + The contents of file "$GITHUB_ENV" should include \ + "UV_DEFAULT_INDEX=repox=https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_USERNAME=test-user" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_PASSWORD=test-token" The contents of file "$GITHUB_ENV" should include "UV_KEYRING_PROVIDER=disabled" From 8a6a62bc8c8b4440e4eedf5db04978a5ebf6f381 Mon Sep 17 00:00:00 2001 From: Samir M Date: Mon, 24 Aug 2026 11:13:18 +0200 Subject: [PATCH 5/6] BUILD-12353 Configure mise Python indexes without changing shared actions --- .../scripts/configure-mise-python-index.sh | 25 ++++++++++++++ .github/workflows/test-build-number.yml | 4 ++- .github/workflows/test-shell-scripts.yml | 4 ++- .../workflows/test-update-release-channel.yml | 4 ++- README.md | 3 +- config-uv/uv_config.sh | 1 - spec/config-uv_spec.sh | 4 --- spec/configure-mise-python-index_spec.sh | 33 +++++++++++++++++++ 8 files changed, 68 insertions(+), 10 deletions(-) create mode 100644 .github/scripts/configure-mise-python-index.sh create mode 100644 spec/configure-mise-python-index_spec.sh diff --git a/.github/scripts/configure-mise-python-index.sh b/.github/scripts/configure-mise-python-index.sh new file mode 100644 index 00000000..21ea17db --- /dev/null +++ b/.github/scripts/configure-mise-python-index.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +set -euo pipefail + +: "${ARTIFACTORY_URL:?}" "${ARTIFACTORY_USERNAME:?}" "${ARTIFACTORY_ACCESS_TOKEN:?}" "${GITHUB_ENV:?}" + +configure_mise_python_index() { + local authenticated_index registry_url + + authenticated_index="${ARTIFACTORY_URL%/}/api/pypi/sonarsource-pypi/simple" + authenticated_index="https://${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}@${authenticated_index#https://}" + registry_url="${authenticated_index%/}/{}/" + + echo "::add-mask::${authenticated_index}" + echo "::add-mask::${registry_url}" + { + echo "PIP_INDEX_URL=${authenticated_index}" + echo "UV_DEFAULT_INDEX=${authenticated_index}" + echo "MISE_PIPX_REGISTRY_URL=${registry_url}" + } >> "$GITHUB_ENV" +} + +if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then + configure_mise_python_index +fi diff --git a/.github/workflows/test-build-number.yml b/.github/workflows/test-build-number.yml index eb42a02f..6bac4913 100644 --- a/.github/workflows/test-build-number.yml +++ b/.github/workflows/test-build-number.yml @@ -128,7 +128,9 @@ jobs: contents: read steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - - uses: ./config-uv + - uses: ./config-pip + - name: Configure mise Python package indexes + run: .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-shell-scripts.yml b/.github/workflows/test-shell-scripts.yml index 7ca6db5e..dbd05b28 100644 --- a/.github/workflows/test-shell-scripts.yml +++ b/.github/workflows/test-shell-scripts.yml @@ -19,7 +19,9 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 - - uses: ./config-uv + - uses: ./config-pip + - name: Configure mise Python package indexes + run: .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-update-release-channel.yml b/.github/workflows/test-update-release-channel.yml index a85ace05..99d5b63d 100644 --- a/.github/workflows/test-update-release-channel.yml +++ b/.github/workflows/test-update-release-channel.yml @@ -31,7 +31,9 @@ jobs: [[ "${{ steps.urc.outputs.version-key }}" == "Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version-url }}" == "https://binaries.sonarsource.com/Distribution/test-fixture/stable.version" ]] [[ "${{ steps.urc.outputs.version }}" == "0.0.0-test" ]] - - uses: ./config-uv + - uses: ./config-pip + - name: Configure mise Python package indexes + run: .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/README.md b/README.md index a93bbe77..7e4e5f56 100644 --- a/README.md +++ b/README.md @@ -1310,8 +1310,8 @@ permissions: contents: read steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: SonarSource/ci-github-actions/config-uv@v1 - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 + - uses: SonarSource/ci-github-actions/config-uv@v1 - run: jf uv sync ``` @@ -1339,7 +1339,6 @@ For build-info collection, pass `--build-name` and `--build-number` to `jf uv` a | Environment Variable | Description | |---------------------------|-------------------------------------------------------| | `BUILD_NUMBER` | The current build number | -| `UV_DEFAULT_INDEX` | Repox as uv's default package index | | `UV_INDEX_REPOX_USERNAME` | Repox username for uv (`repox` index name) | | `UV_INDEX_REPOX_PASSWORD` | Repox access token for uv | | `UV_KEYRING_PROVIDER` | Set to `disabled` when index credentials are injected | diff --git a/config-uv/uv_config.sh b/config-uv/uv_config.sh index 4753763b..1690d97e 100755 --- a/config-uv/uv_config.sh +++ b/config-uv/uv_config.sh @@ -43,7 +43,6 @@ configure_uv_repox() { # Native uv variables for named indexes. Also set explicitly so plain `uv` works; # `jf uv` injects the same variables when they are unset. { - echo "UV_DEFAULT_INDEX=${UV_INDEX_NAME}=${ARTIFACTORY_URL}/api/pypi/sonarsource-pypi/simple" echo "UV_INDEX_${index_name_upper}_USERNAME=$ARTIFACTORY_USERNAME" echo "UV_INDEX_${index_name_upper}_PASSWORD=$ARTIFACTORY_ACCESS_TOKEN" echo "UV_KEYRING_PROVIDER=disabled" diff --git a/spec/config-uv_spec.sh b/spec/config-uv_spec.sh index 3cc29c77..cb00b406 100644 --- a/spec/config-uv_spec.sh +++ b/spec/config-uv_spec.sh @@ -34,8 +34,6 @@ Describe 'configure_uv_repox()' The line 1 should equal "$MESSAGE_CONFIGURING_UV" The line 2 should include "jf config add repox" The line 3 should include "jf config use repox" - The contents of file "$GITHUB_ENV" should include \ - "UV_DEFAULT_INDEX=repox=https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_USERNAME=test-user" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_PASSWORD=test-token" The contents of file "$GITHUB_ENV" should include "UV_KEYRING_PROVIDER=disabled" @@ -75,8 +73,6 @@ Describe 'main()' The line 3 should include "jf config add repox" The line 4 should include "jf config use repox" The line 5 should equal "::endgroup::" - The contents of file "$GITHUB_ENV" should include \ - "UV_DEFAULT_INDEX=repox=https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_USERNAME=test-user" The contents of file "$GITHUB_ENV" should include "UV_INDEX_REPOX_PASSWORD=test-token" The contents of file "$GITHUB_ENV" should include "UV_KEYRING_PROVIDER=disabled" diff --git a/spec/configure-mise-python-index_spec.sh b/spec/configure-mise-python-index_spec.sh new file mode 100644 index 00000000..cf9fcc11 --- /dev/null +++ b/spec/configure-mise-python-index_spec.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +eval "$(shellspec - -c) exit 1" + +export ARTIFACTORY_URL="https://repox.jfrog.io/artifactory" +export ARTIFACTORY_USERNAME="test-user" +export ARTIFACTORY_ACCESS_TOKEN="test-token" +export GITHUB_ENV=/dev/null + +Describe '.github/scripts/configure-mise-python-index.sh' + It 'does not configure the environment when sourced' + When run source .github/scripts/configure-mise-python-index.sh + The status should be success + The lines of output should equal 0 + End +End + +Include .github/scripts/configure-mise-python-index.sh + +Describe 'configure_mise_python_index()' + It 'configures mise, uv, and pip to use the authenticated Repox index' + GITHUB_ENV=$(mktemp) + export GITHUB_ENV + When call configure_mise_python_index + The status should be success + The lines of output should equal 2 + The contents of file "$GITHUB_ENV" should include \ + "PIP_INDEX_URL=https://test-user:test-token@repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" + The contents of file "$GITHUB_ENV" should include \ + "UV_DEFAULT_INDEX=https://test-user:test-token@repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple" + The contents of file "$GITHUB_ENV" should include \ + "MISE_PIPX_REGISTRY_URL=https://test-user:test-token@repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple/{}/" + End +End From dba0b849f11495f35a166531c909c8a2e32bbd3a Mon Sep 17 00:00:00 2001 From: Samir M Date: Mon, 24 Aug 2026 11:17:10 +0200 Subject: [PATCH 6/6] BUILD-12353 Invoke the mise index helper through bash --- .github/workflows/test-build-number.yml | 2 +- .github/workflows/test-shell-scripts.yml | 2 +- .github/workflows/test-update-release-channel.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-build-number.yml b/.github/workflows/test-build-number.yml index 6bac4913..02d3ce20 100644 --- a/.github/workflows/test-build-number.yml +++ b/.github/workflows/test-build-number.yml @@ -130,7 +130,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: ./config-pip - name: Configure mise Python package indexes - run: .github/scripts/configure-mise-python-index.sh + run: bash .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-shell-scripts.yml b/.github/workflows/test-shell-scripts.yml index dbd05b28..6397a68a 100644 --- a/.github/workflows/test-shell-scripts.yml +++ b/.github/workflows/test-shell-scripts.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 - uses: ./config-pip - name: Configure mise Python package indexes - run: .github/scripts/configure-mise-python-index.sh + run: bash .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: diff --git a/.github/workflows/test-update-release-channel.yml b/.github/workflows/test-update-release-channel.yml index 99d5b63d..d02b2073 100644 --- a/.github/workflows/test-update-release-channel.yml +++ b/.github/workflows/test-update-release-channel.yml @@ -33,7 +33,7 @@ jobs: [[ "${{ steps.urc.outputs.version }}" == "0.0.0-test" ]] - uses: ./config-pip - name: Configure mise Python package indexes - run: .github/scripts/configure-mise-python-index.sh + run: bash .github/scripts/configure-mise-python-index.sh - uses: ./config-npm - uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 with: