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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
sha256sum release.env >> artifact.sha256
)

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: verified-pypi-package
path: ${{ runner.temp }}/release-artifact/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:

- name: Upload snippet manifest
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: oilpriceapi-python-snippets-${{ github.sha }}
path: artifacts/snippets/
if-no-files-found: error

- name: Upload coverage
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: coverage-report
path: coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/weekly-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Upload 30-day receipt
if: always() && hashFiles('artifacts/sdk-health.json') != ''
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: sdk-health-${{ github.run_id }}
path: artifacts/sdk-health.json
Expand Down
2 changes: 1 addition & 1 deletion tests/test_release_readiness.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_oidc_publisher_consumes_only_the_verified_artifact() -> None:
action_refs = re.findall(r"uses:\s+[^@\s]+@([^\s#]+)", workflow)

assert "Verify release tag matches package version and protected main" in workflow
assert "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" in workflow
assert "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9" in workflow
assert "actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333" in workflow
assert "pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33" in publish
assert "id-token: write" in publish
Expand Down
Loading