Skip to content

Commit e6e21f7

Browse files
committed
MNT: Use hash for Action workflow versions and update if needed
1 parent f80651c commit e6e21f7

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check change log entry
17-
uses: scientific-python/action-check-changelogfile@064f2005176e1622e7c2bd9776140406609097d1
17+
uses: scientific-python/action-check-changelogfile@1fc669db9618167166d5a16c10282044f51805c0 # 0.3
1818
env:
1919
CHANGELOG_FILENAME: CHANGES.rst
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci_crontests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636

3737
steps:
3838
- name: Checkout code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
4040
with:
4141
fetch-depth: 0
4242
- name: Set up Python
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4444
with:
4545
python-version: ${{ matrix.python }}
4646
- name: Install Python dependencies

.github/workflows/ci_devtests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444

4545
steps:
4646
- name: Checkout code
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
4848
with:
4949
fetch-depth: 0
5050
- name: Set up Python
51-
uses: actions/setup-python@v5
51+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
5252
with:
5353
python-version: ${{ matrix.python }}
5454
- name: Install Python dependencies
@@ -57,6 +57,6 @@ jobs:
5757
run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}
5858
- name: Upload coverage to codecov
5959
if: contains(matrix.toxenv,'-cov')
60-
uses: codecov/codecov-action@v3
60+
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
6161
with:
6262
file: ./coverage.xml

.github/workflows/ci_online_crontests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout code
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
4242
with:
4343
fetch-depth: 0
4444
- name: Set up Python
45-
uses: actions/setup-python@v5
45+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4646
with:
4747
python-version: ${{ matrix.python }}
4848
- name: Install Python dependencies

.github/workflows/ci_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ jobs:
5656

5757
steps:
5858
- name: Checkout code
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
6060
with:
6161
fetch-depth: 0
6262
- name: Set up Python
63-
uses: actions/setup-python@v5
63+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
6464
with:
6565
python-version: ${{ matrix.python }}
6666
- name: Install Python dependencies
@@ -69,7 +69,7 @@ jobs:
6969
run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}
7070
- name: Upload coverage to codecov
7171
if: contains(matrix.toxenv,'-cov')
72-
uses: codecov/codecov-action@v3
72+
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
7373
with:
7474
file: ./coverage.xml
7575

@@ -78,11 +78,11 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Checkout code
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
8282
with:
8383
fetch-depth: 0
8484
- name: Set up Python
85-
uses: actions/setup-python@v5
85+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
8686
with:
8787
python-version: "3.9"
8888
- name: Run egg_info

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
3131

3232
# Initializes the CodeQL tools for scanning.
3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@v2
34+
uses: github/codeql-action/init@5618c9fc1e675841ca52c1c6b1304f5255a905a0 # codeql-bundle-v2.19.0
3535
with:
3636
languages: ${{ matrix.language }}
3737
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -42,7 +42,7 @@ jobs:
4242
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4343
# If this step fails, then you should remove it and run the build manually (see below)
4444
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v2
45+
uses: github/codeql-action/autobuild@5618c9fc1e675841ca52c1c6b1304f5255a905a0 # codeql-bundle-v2.19.0
4646

4747
# ℹ️ Command-line programs to run using the OS shell.
4848
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
5656
# make release
5757

5858
- name: Perform CodeQL Analysis
59-
uses: github/codeql-action/analyze@v2
59+
uses: github/codeql-action/analyze@5618c9fc1e675841ca52c1c6b1304f5255a905a0 # codeql-bundle-v2.19.0

0 commit comments

Comments
 (0)