Skip to content

Commit

Permalink
Add dependabot configurations (#29)
Browse files Browse the repository at this point in the history
This PR adds dependanbot configurations for automatically updating
python dependencies and github actions configurations.

We also add a `.yamllint.yaml` configuration files for yamllint to
suppress certain types of YAML errors.
  • Loading branch information
yuxincs authored Mar 4, 2024
1 parent 67b1ae7 commit 5bc06f6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
groups:
python-packages:
patterns:
- "*"
13 changes: 13 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
extends: default

rules:
line-length:
max: 99

# Disable checks for truthy values since yamllint reports errors on "on" keywords in GitHub
# Actions configuration files (since in YAML 1.1 "on" is a boolean). We can remove this once
# yamllint defaults to YAML 1.2 or provides options to specify that.
truthy: disable

# This requires all YAML files begin with "---", which in practice is rarely needed.
document-start: disable

0 comments on commit 5bc06f6

Please sign in to comment.