Skip to content

Commit c897d3b

Browse files
committed
ops: reduce CI noise (Dependabot weekly+groups, workflow concurrency)
1 parent 180ff68 commit c897d3b

File tree

4 files changed

+32
-17
lines changed

4 files changed

+32
-17
lines changed

.github/dependabot.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
schedule:
6-
interval: "weekly"
7-
day: "monday"
8-
time: "04:00"
9-
timezone: "Europe/Lisbon"
10-
open-pull-requests-limit: 10
11-
labels: ["deps","ci"]
123
- package-ecosystem: "pip"
134
directory: "/"
14-
schedule:
15-
interval: "weekly"
16-
day: "monday"
17-
time: "04:15"
18-
timezone: "Europe/Lisbon"
19-
open-pull-requests-limit: 10
20-
labels: ["deps","python"]
21-
versioning-strategy: increase-if-necessary
5+
schedule: { interval: "weekly" }
6+
open-pull-requests-limit: 2
7+
groups:
8+
python-dev:
9+
patterns:
10+
- "black"
11+
- "ruff"
12+
- "pytest*"
13+
- "mypy*"
14+
python-runtime:
15+
patterns: ["*"]
16+
exclude-patterns:
17+
- "black"
18+
- "ruff"
19+
- "pytest*"
20+
- "mypy*"
21+
- package-ecosystem: "github-actions"
22+
directory: "/"
23+
schedule: { interval: "weekly" }
24+
open-pull-requests-limit: 2
25+
groups:
26+
gh-actions:
27+
patterns: ["*"]

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
concurrency:
2+
group: ${{ github.workflow }}-${{ github.ref }}
3+
cancel-in-progress: true

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ jobs:
1818
config-name: release-drafter.yml
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true

.github/workflows/semantic-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ jobs:
2828
requireScope: false
2929
subjectPattern: ^.+$
3030
wip: true
31+
concurrency:
32+
group: ${{ github.workflow }}-${{ github.ref }}
33+
cancel-in-progress: true

0 commit comments

Comments
 (0)