Skip to content

Commit

Permalink
Adding dependabot & updating reqirements (netbox-community#1026)
Browse files Browse the repository at this point in the history
* Added dependabot template

* Testing dependabot

* Testing dependabot

* Added dependabot config. Updated pre-commit config to ignore the dependabot yaml file. Updated requirements.

* Added myself to the dependabot assignee list

* Fixed missing newline in dependabot config

* adding pre-commit to requirements

* Update dependabot.yml

* Update dependabot.yml

* Update dependabot.yml

Changed schedule to montly

* Modified Actions validation & pre-commit config
- Fixed spacing and newline issues in actions validation file
- Modified pre-commit config to only scan device-types and module-types, same as the validation action
  • Loading branch information
danner26 authored Jan 5, 2023
1 parent e0be5b3 commit f56d641
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
time: '02:00'
timezone: America/New_York
labels:
- dependencies
target-branch: master
assignees:
- "danner26"
5 changes: 1 addition & 4 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
name: Validate definitions


on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
files: ^(device-types|module-types)/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
Expand Down
9 changes: 5 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
jsonschema==3.2.0
pytest==5.3.2
PyYAML==5.4
yamllint==1.27.1
jsonschema==4.17.3
pre-commit==2.21.0
pytest==7.2.0
PyYAML==6.0
yamllint==1.28.0

0 comments on commit f56d641

Please sign in to comment.