From 41c2f2e64fd13e513528f4851fbb0121eaa1ada5 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Mon, 4 Aug 2025 13:25:12 +0100 Subject: [PATCH 1/4] feat(release-pr): use UV's python to run neon-release-pr --- release-pr/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release-pr/action.yml b/release-pr/action.yml index 95946011..58447d13 100644 --- a/release-pr/action.yml +++ b/release-pr/action.yml @@ -25,16 +25,16 @@ runs: with: version: "0.6.16" - - name: Install neon-release-pr + - name: Build neon-release-pr shell: bash run: | - cd ${{ github.action_path }} + cd ${GITHUB_ACTION_PATH} uv sync uv build - pip install dist/neon_release_pr-*-py3-none-any.whl - - name: Run neon-release-pr + env: + UV_PROJECT: ${{ github.action_path }} shell: bash run: | set -euo pipefail From e527413115b84567fc695adf44f9ef0ab1791ed9 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Mon, 4 Aug 2025 13:25:49 +0100 Subject: [PATCH 2/4] Update astral-sh/setup-uv and install newer uv --- release-pr/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-pr/action.yml b/release-pr/action.yml index 58447d13..aa64eff3 100644 --- a/release-pr/action.yml +++ b/release-pr/action.yml @@ -21,9 +21,9 @@ runs: using: "composite" steps: - name: Install uv - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2 + uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0 with: - version: "0.6.16" + version: "0.10.4" - name: Build neon-release-pr shell: bash From c3713306debf49d6f6dee3aa4677eaaf41d6e4f7 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 18 Feb 2026 15:01:01 +0000 Subject: [PATCH 3/4] Now it should work! --- release-pr/action.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/release-pr/action.yml b/release-pr/action.yml index aa64eff3..c58d3216 100644 --- a/release-pr/action.yml +++ b/release-pr/action.yml @@ -25,16 +25,11 @@ runs: with: version: "0.10.4" - - name: Build neon-release-pr + - name: Sync neon-release-pr shell: bash - run: | - cd ${GITHUB_ACTION_PATH} - uv sync - uv build + run: uv sync --project ${GITHUB_ACTION_PATH} - name: Run neon-release-pr - env: - UV_PROJECT: ${{ github.action_path }} shell: bash run: | set -euo pipefail @@ -55,4 +50,4 @@ runs: read -ra commits <<< "${{ inputs.cherry-pick }}" - neon-release-pr new "${neon_release_pr_args[@]}" "${{ inputs.component }}" "${commits[@]}" + uv run --project ${GITHUB_ACTION_PATH} neon-release-pr new "${neon_release_pr_args[@]}" "${{ inputs.component }}" "${commits[@]}" From c828cfcf7aa5b7e168eefd24bebd982993a663ac Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 18 Feb 2026 16:07:27 +0000 Subject: [PATCH 4/4] Another attempt to fix --- release-pr/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release-pr/action.yml b/release-pr/action.yml index c58d3216..9bf31a93 100644 --- a/release-pr/action.yml +++ b/release-pr/action.yml @@ -29,6 +29,10 @@ runs: shell: bash run: uv sync --project ${GITHUB_ACTION_PATH} + - name: Configure git credentials + shell: bash + run: gh auth setup-git + - name: Run neon-release-pr shell: bash run: |