Skip to content

Commit 0143478

Browse files
authored
Merge pull request #3108 from pllim/action-ver-hash
MNT: Use hash for Action workflow versions and update if needed
2 parents f80651c + e97b4f3 commit 0143478

File tree

7 files changed

+33
-22
lines changed

7 files changed

+33
-22
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
16
version: 2
27
updates:
3-
- package-ecosystem: pip
4-
directory: "/"
5-
schedule:
6-
interval: weekly
7-
open-pull-requests-limit: 10
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
actions:
14+
patterns:
15+
- "*"
16+
labels:
17+
- "no-changelog-entry-needed"
18+
- "infrastructure"

.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)