Skip to content

Commit ed5939f

Browse files
Merge pull request #8 from codefly-dev/chore/dependency-policy
chore: group dependency updates and pin every action by SHA
2 parents 7962bcf + 90bf3e6 commit ed5939f

2 files changed

Lines changed: 41 additions & 2 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Dependency updates for every ecosystem this repository ships.
2+
#
3+
# Each ecosystem is ONE catch-all group covering minor, patch and major, with
4+
# open-pull-requests-limit 1, so a week yields at most one pull request per
5+
# ecosystem instead of one per dependency. Dependabot cannot group across
6+
# ecosystems, so the number of entries below is the floor on weekly PRs.
7+
#
8+
# The github-actions entry exists because every action is pinned by commit SHA;
9+
# nothing else would ever move those pins.
10+
version: 2
11+
12+
updates:
13+
- package-ecosystem: pip
14+
directory: /
15+
schedule:
16+
interval: weekly
17+
open-pull-requests-limit: 1
18+
groups:
19+
pip:
20+
patterns:
21+
- "*"
22+
update-types:
23+
- minor
24+
- patch
25+
- major
26+
27+
- package-ecosystem: github-actions
28+
directory: /
29+
schedule:
30+
interval: weekly
31+
open-pull-requests-limit: 1
32+
groups:
33+
github-actions:
34+
patterns:
35+
- "*"
36+
update-types:
37+
- minor
38+
- patch
39+
- major

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
matrix:
1313
python-version: ["3.10", "3.12"]
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v5
15+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
16+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919
- run: python -m pip install --upgrade pip

0 commit comments

Comments
 (0)