Skip to content

Commit d2cb8c1

Browse files
FichteFollclaude
andcommitted
Pin CI actions to their latest releases by SHA
`actions/setup-python@v5` still runs on Node 20, which triggers a deprecation warning. Update all actions to their latest releases, which run on Node 24, and pin them by commit SHA with the version as a comment. Add a Dependabot configuration that updates all actions weekly in a single grouped pull request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 91f7289 commit d2cb8c1

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v6.0.3
12-
- uses: actions/setup-python@v5
11+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
12+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
1313
with:
1414
python-version: "3.8"
15-
- uses: astral-sh/setup-uv@v8.2.0
15+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
1616
with:
1717
enable-cache: true
1818
- run: uv sync --group dev --no-install-project
@@ -22,7 +22,7 @@ jobs:
2222
keystate-helper:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v6.0.3
25+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2626
- run: sudo modprobe uinput
2727
- run: mkdir -p build
2828
- run: cc -std=c11 -O2 -Wall -Wextra -Werror -o build/tabstack-keystate keystate/tabstack-keystate.c

0 commit comments

Comments
 (0)