Skip to content

Commit c431828

Browse files
committed
fully pinned github actions
1 parent 0bfaf98 commit c431828

2 files changed

Lines changed: 25 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# From:
2+
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot
3+
# Set update schedule for GitHub Actions
4+
5+
version: 2
6+
updates:
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
# Check for updates to GitHub Actions once a week
11+
interval: "weekly"
12+
day: "sunday"
13+
cooldown:
14+
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
15+
default-days: 7
16+
groups:
17+
action-dependencies:
18+
patterns:
19+
- "*"
20+
commit-message:
21+
prefix: "chore"

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050

5151
steps:
5252
- name: "Check out the repo"
53-
uses: "actions/checkout@v4"
53+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5454
with:
5555
persist-credentials: false
5656

5757
- name: "Set up Python"
58-
uses: "actions/setup-python@v5"
58+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5959
with:
6060
python-version: "${{ matrix.python-version }}"
6161
allow-prereleases: true
@@ -87,12 +87,12 @@ jobs:
8787

8888
steps:
8989
- name: "Check out the repo"
90-
uses: "actions/checkout@v4"
90+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9191
with:
9292
persist-credentials: false
9393

9494
- name: "Set up Python"
95-
uses: "actions/setup-python@v5"
95+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
9696
with:
9797
python-version: "3.10"
9898

0 commit comments

Comments
 (0)