Skip to content

Commit 465547c

Browse files
authored
Merge pull request #883 from irfanuddinahmad/pin-actions-to-sha
chore: pin GitHub Actions workflows to full commit SHAs
2 parents 3c72b2d + fb35e7f commit 465547c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
python-version: ["3.12"]
1515
django-version: ["pinned", "5.2"]
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v5
17+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
18+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
architecture: x64
@@ -40,8 +40,8 @@ jobs:
4040
matrix:
4141
python-version: ["3.12"]
4242
steps:
43-
- uses: actions/checkout@v4
44-
- uses: actions/setup-python@v5
43+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
44+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4545
with:
4646
python-version: ${{ matrix.python-version }}
4747
architecture: x64

.github/workflows/mysql8-migrations-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repo
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2323

2424
- name: Setup Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

@@ -36,7 +36,7 @@ jobs:
3636
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
3737
- name: Cache pip dependencies
3838
id: cache-dependencies
39-
uses: actions/cache@v4
39+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4040
with:
4141
path: ${{ steps.pip-cache-dir.outputs.dir }}
4242
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/pip_tools.txt') }}

0 commit comments

Comments
 (0)