Skip to content

Commit 79af4fd

Browse files
chore: pin GitHub Actions workflows to full commit SHAs (#350)
1 parent 7592eee commit 79af4fd

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/check-reserved-keywords.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v6
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414

1515
- name: setup python
16-
uses: actions/setup-python@v6
16+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1717
with:
1818
python-version: 3.12
1919

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
toxenv: [quality, docs, django42-drf315, django42-drflatest, django52-drf315, django52-drflatest]
1919

2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
- name: setup python
23-
uses: actions/setup-python@v6
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Run Coverage
3939
if: matrix.python-version == '3.12' && matrix.toxenv=='django42-drflatest'
40-
uses: codecov/codecov-action@v6
40+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
4141
with:
4242
flags: unittests
4343
fail_ci_if_error: true

.github/workflows/migrations-check.yml

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

1919
steps:
2020
- name: Checkout repo
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Setup Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v6
24+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Cache pip dependencies
3939
id: cache-dependencies
40-
uses: actions/cache@v5
40+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4141
with:
4242
path: ${{ steps.pip-cache-dir.outputs.dir }}
4343
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/pip_tools.txt') }}

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: setup python
20-
uses: actions/setup-python@v6
20+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: 3.12
2323

0 commit comments

Comments
 (0)