Skip to content

Commit 323369e

Browse files
Merge pull request #152 from boomanaiden154/hash-pin-github-actions-1-12-26
[Github] Hash pin all dependencies
2 parents e0f468e + b167d82 commit 323369e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/build-and-publish-package.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
name: Build LNT package
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
1616
with:
1717
fetch-depth: 0 # fetch all history including tags -- necessary to determine the version from SCM
1818
persist-credentials: false
1919
- name: Set up Python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2121
with:
2222
python-version: "3.10"
2323
# We only build a source distribution because binary distributions for Linux can't be uploaded
@@ -27,7 +27,7 @@ jobs:
2727
python -m pip install build
2828
python -m build --sdist
2929
- name: Store the distribution packages
30-
uses: actions/upload-artifact@v4
30+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3131
with:
3232
name: python-package-distributions
3333
path: dist/
@@ -47,12 +47,12 @@ jobs:
4747

4848
steps:
4949
- name: Download distributions
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
5151
with:
5252
name: python-package-distributions
5353
path: dist/
5454
- name: Publish LNT to TestPyPI
55-
uses: pypa/gh-action-pypi-publish@release/v1
55+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
5656
with:
5757
repository-url: https://test.pypi.org/legacy/
5858
verbose: true
@@ -71,11 +71,11 @@ jobs:
7171

7272
steps:
7373
- name: Download distributions
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
7575
with:
7676
name: python-package-distributions
7777
path: dist/
7878
- name: Publish LNT to PyPI
79-
uses: pypa/gh-action-pypi-publish@release/v1
79+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
8080
with:
8181
verbose: true

.github/workflows/tox.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
fail-fast: false
2020

2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2323
with:
2424
fetch-depth: 0 # fetch all history including tags -- necessary to determine the version from SCM
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v6
26+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
pip install tox tox-gh-actions
3333
- name: Install PostgreSQL
3434
if: ${{ matrix.with-postgres }}
35-
uses: tj-actions/install-postgresql@v3
35+
uses: tj-actions/install-postgresql@a889ed6c6fa05022333ed4101295bb1d604f97a8 # v3.2.0
3636
with:
3737
postgresql-version: 17
3838
- name: Tox flake8

0 commit comments

Comments
 (0)