Skip to content

Commit c26427b

Browse files
chore: pin GitHub Actions to commit SHA
Signed-off-by: Quentin Laplanche <quentin.laplanche@docker.com>
1 parent df3f8e2 commit c26427b

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-python@v5
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1515
with:
1616
python-version: '3.x'
1717
- run: pip install -U ruff==0.1.8
@@ -21,12 +21,12 @@ jobs:
2121
build:
2222
runs-on: ubuntu-22.04
2323
steps:
24-
- uses: actions/checkout@v4
25-
- uses: actions/setup-python@v5
24+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
25+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2626
with:
2727
python-version: '3.x'
2828
- run: pip3 install build && python -m build .
29-
- uses: actions/upload-artifact@v4
29+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3030
with:
3131
name: dist
3232
path: dist
@@ -38,9 +38,9 @@ jobs:
3838
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3939

4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4242
- name: Set up Python ${{ matrix.python-version }}
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646
allow-prereleases: true
@@ -61,7 +61,7 @@ jobs:
6161
variant: [ "integration-dind", "integration-dind-ssl", "integration-dind-ssh" ]
6262

6363
steps:
64-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6565
with:
6666
fetch-depth: 0
6767
fetch-tags: true

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
publish:
2121
runs-on: ubuntu-22.04
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424

25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2626
with:
2727
python-version: '3.x'
2828

@@ -36,13 +36,13 @@ jobs:
3636
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ inputs.tag }}
3737

3838
- name: Publish to PyPI
39-
uses: pypa/gh-action-pypi-publish@release/v1
39+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
4040
if: '! inputs.dry-run'
4141
with:
4242
password: ${{ secrets.PYPI_API_TOKEN }}
4343

4444
- name: Create GitHub release
45-
uses: ncipollo/release-action@v1
45+
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
4646
if: '! inputs.dry-run'
4747
with:
4848
artifacts: "dist/*"

0 commit comments

Comments
 (0)