Skip to content

Commit 590c464

Browse files
Merge branch 'main' into yashraj/cache-shell-flag-scope-analysis
2 parents 4500c63 + 665bb56 commit 590c464

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
ref: ${{ github.event.pull_request.merge_commit_sha }}
36+
persist-credentials: false
3637
- name: Set up uv
3738
# Pinned to a full commit SHA (third-party action); comment tracks the tag.
38-
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
39+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
3940
with:
4041
version: "${{ env.UV_VERSION }}"
4142
enable-cache: true

‎tests/unit/test_github_release_workflow.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_release_workflow_tags_the_merged_pr_commit() -> None:
3939
workflow = WORKFLOW.read_text(encoding="utf-8")
4040

4141
assert "ref: ${{ github.event.pull_request.merge_commit_sha }}" in workflow
42+
assert "persist-credentials: false" in workflow
4243
assert '--target "${{ github.event.pull_request.merge_commit_sha }}"' in workflow
4344

4445

@@ -56,7 +57,7 @@ def test_release_workflow_uses_skillspectors_locked_uv_environment() -> None:
5657
"""Release artifacts are built with the repository's pinned tooling."""
5758
workflow = WORKFLOW.read_text(encoding="utf-8")
5859

59-
assert "astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5" in workflow
60+
assert "astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2" in workflow
6061
assert 'UV_VERSION: "0.10.10"' in workflow
6162
assert 'version: "${{ env.UV_VERSION }}"' in workflow
6263
assert "cache-dependency-glob: uv.lock" in workflow

0 commit comments

Comments
 (0)