Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ jobs:
test "$(find release-assets -maxdepth 1 -name 'ragops-*.tar.gz' | wc -l)" -eq 1
cp release-assets/ragops-*.whl release-assets/ragops-*.tar.gz dist/
- name: Publish distributions with Trusted Publishing
uses: pypa/gh-action-pypi-publish@a892a5a61159132606e93a2fa6f4358831b04d26 # v1.14.2
# Upstream container images are published for exact release tags, not commit-SHA refs.
uses: pypa/gh-action-pypi-publish@v1.14.2
2 changes: 1 addition & 1 deletion tests/test_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_repository_has_consumer_ci_and_separate_release_publisher() -> None:
assert "id-token: write" in workflow
assert "environment: pypi" in workflow
assert "pull_request" not in workflow
assert "pypa/gh-action-pypi-publish@a892a5a61159132606e93a2fa6f4358831b04d26" in workflow
assert "pypa/gh-action-pypi-publish@v1.14.2" in workflow
ci = (WORKFLOW_ROOT / "ci.yml").read_text(encoding="utf-8")
assert "pull_request:" in ci
assert 'python-version: ${{ matrix.python-version }}' in ci
Expand Down