Skip to content

Commit b702c75

Browse files
authored
Replace pre-commit with prek in CI and add cooldown to Dependabot (#452)
1 parent 0976e4a commit b702c75

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ updates:
88
actions:
99
patterns:
1010
- "*"
11+
cooldown:
12+
default-days: 7
1113

1214
- package-ecosystem: "pip"
1315
directory: "/"
1416
exclude-paths:
1517
- "pyperformance/data-files/**"
1618
schedule:
1719
interval: "monthly"
20+
cooldown:
21+
default-days: 7

.github/workflows/lint.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ on: [push, pull_request, workflow_dispatch]
44

55
permissions: {}
66

7+
env:
8+
FORCE_COLOR: 1
9+
RUFF_OUTPUT_FORMAT: github
10+
711
jobs:
812
lint:
913
runs-on: ubuntu-latest
14+
1015
steps:
1116
- uses: actions/checkout@v6
12-
- uses: tox-dev/action-pre-commit-uv@v1
17+
with:
18+
persist-credentials: false
19+
- uses: j178/prek-action@v1

0 commit comments

Comments
 (0)