Skip to content

Commit ef61210

Browse files
authored
Dependabot config update, add pre-commit CI. (#36)
1 parent 19da476 commit ef61210

3 files changed

Lines changed: 30 additions & 5 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ multi-ecosystem-groups:
55
schedule:
66
# Check for updates on the first Sunday of every month, 8PM UTC
77
interval: "cron"
8-
cronjob: "0 20 * * sun#1"
9-
assignees: ["housekeeping"]
8+
cronjob: "0 20 * * sun#2"
109

1110
updates:
1211
- package-ecosystem: "github-actions"
1312
directory: "/"
1413
patterns: ["*"]
15-
multi_ecosystem_group: "dependencies"
14+
multi-ecosystem-group: "dependencies"
1615

1716
- package-ecosystem: "pip"
1817
directory: "/"
1918
patterns: ["*"]
20-
multi_ecosystem_group: "dependencies"
19+
multi-ecosystem-group: "dependencies"

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
workflow_call:
8+
9+
# Cancel active CI runs for a PR before starting another run
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
defaults:
15+
run:
16+
shell: bash # https://github.com/beeware/briefcase/pull/912
17+
18+
env:
19+
FORCE_COLOR: "1"
20+
21+
jobs:
22+
pre-commit:
23+
name: Pre-commit checks
24+
uses: beeware/.github/.github/workflows/pre-commit-run.yml@main
25+
with:
26+
pre-commit-source: "--group pre-commit"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ repos:
1313
rev: v0.0.170
1414
hooks:
1515
- id: rumdl
16-
args: [--force-exclude, --fix]
16+
args: [--fix]

0 commit comments

Comments
 (0)