Skip to content

Commit 363d934

Browse files
Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.13.0 in /.github/workflows (#78)
* Bump pypa/gh-action-pypi-publish in /.github/workflows Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.5.1 to 1.13.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@v1.5.1...v1.13.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.13.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Pin to hash for all actions workflows Xref https://docs.zizmor.sh/audits/#unpinned-uses * Fix excessive-permissions Xref https://docs.zizmor.sh/audits/#excessive-permissions --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wei Ji <[email protected]>
1 parent face1f9 commit 363d934

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/pypi-release.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
branches:
1414
- main
1515

16+
permissions: {}
17+
1618
concurrency:
1719
group: ${{ github.workflow }}-${{ github.ref }}
1820
cancel-in-progress: true
@@ -22,13 +24,13 @@ jobs:
2224
runs-on: ubuntu-latest
2325
if: github.repository == 'xarray-contrib/cupy-xarray'
2426
steps:
25-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2628
with:
2729
fetch-depth: 0
2830
persist-credentials: false
2931

3032
- name: Install Python
31-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3234
with:
3335
python-version: "3.10"
3436

@@ -53,7 +55,9 @@ jobs:
5355
else
5456
echo "✅ Looks good"
5557
fi
56-
- uses: actions/upload-artifact@v4
58+
59+
- name: Store the distribution packages
60+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5761
with:
5862
name: releases
5963
path: dist
@@ -63,12 +67,13 @@ jobs:
6367
if: github.event_name == 'release'
6468
runs-on: ubuntu-latest
6569
steps:
66-
- uses: actions/download-artifact@v4
70+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
6771
with:
6872
name: releases
6973
path: dist
74+
7075
- name: Publish package to PyPI
71-
uses: pypa/gh-action-pypi-publish@v1.5.1
76+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
7277
with:
7378
user: __token__
7479
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)