Skip to content

Commit 1e46065

Browse files
committed
pin to specified version.
1 parent 8135577 commit 1e46065

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/manual-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545

4646
- name: Publish core package to PyPI
4747
if: ${{ inputs.dry_run == false }}
48-
uses: pypa/gh-action-pypi-publish@release/v1
48+
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
49+
uses: pypa/gh-action-pypi-publish@3cc2c35166dfc1e5ea3bb0491ffdeedcaa50d7c
4950
with:
5051
password: ${{ env.PYPI_AUTH_TOKEN }}
5152
packages-dir: packages/core/dist/
@@ -79,7 +80,9 @@ jobs:
7980

8081
- name: Publish langchain package to PyPI
8182
if: ${{ inputs.dry_run == false }}
82-
uses: pypa/gh-action-pypi-publish@release/v1
83+
# Pinned to v1.8.13 (2024-06-14) for security
84+
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
85+
uses: pypa/gh-action-pypi-publish@3cc2c35166dfc1e5ea3bb0491ffdeedcaa50d7c
8386
with:
8487
password: ${{ env.PYPI_AUTH_TOKEN }}
8588
packages-dir: packages/langchain/dist/

.github/workflows/release-please.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
- uses: ./.github/actions/build-docs
5353

5454
- name: Publish core package to PyPI
55-
uses: pypa/gh-action-pypi-publish@release/v1
55+
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
56+
uses: pypa/gh-action-pypi-publish@3cc2c35166dfc1e5ea3bb0491ffdeedcaa50d7c
5657
with:
5758
password: ${{ env.PYPI_AUTH_TOKEN }}
5859
packages-dir: packages/core/dist/
@@ -86,7 +87,9 @@ jobs:
8687
package-path: packages/langchain
8788

8889
- name: Publish langchain package to PyPI
89-
uses: pypa/gh-action-pypi-publish@release/v1
90+
# Pinned to v1.8.13 (2024-06-14) for security
91+
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
92+
uses: pypa/gh-action-pypi-publish@3cc2c35166dfc1e5ea3bb0491ffdeedcaa50d7c
9093
with:
9194
password: ${{ env.PYPI_AUTH_TOKEN }}
9295
packages-dir: packages/langchain/dist/

0 commit comments

Comments
 (0)